Minor tweak to the band layout offset
This commit is contained in:
parent
6578ea0e26
commit
be8d1259af
1 changed files with 2 additions and 0 deletions
|
@ -149,6 +149,8 @@ static celt_int16 *compute_ebands(celt_int32 Fs, int frame_size, int nbShortMdct
|
||||||
/* Linear spacing (min_width) */
|
/* Linear spacing (min_width) */
|
||||||
for (i=0;i<low;i++)
|
for (i=0;i<low;i++)
|
||||||
eBands[i] = min_bins*i;
|
eBands[i] = min_bins*i;
|
||||||
|
if (low>0)
|
||||||
|
offset = eBands[low-1]*res - bark_freq[lin-1];
|
||||||
/* Spacing follows critical bands */
|
/* Spacing follows critical bands */
|
||||||
for (i=0;i<high;i++)
|
for (i=0;i<high;i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue