Skip to content
Snippets Groups Projects
Commit be8d1259 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Minor tweak to the band layout offset

parent 6578ea0e
No related branches found
No related tags found
No related merge requests found
......@@ -149,6 +149,8 @@ static celt_int16 *compute_ebands(celt_int32 Fs, int frame_size, int nbShortMdct
/* Linear spacing (min_width) */
for (i=0;i<low;i++)
eBands[i] = min_bins*i;
if (low>0)
offset = eBands[low-1]*res - bark_freq[lin-1];
/* Spacing follows critical bands */
for (i=0;i<high;i++)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment