Skip to content
Snippets Groups Projects
Commit 58107d89 authored by Mark Harris's avatar Mark Harris Committed by Jean-Marc Valin
Browse files

Fix surround encoding

Broken by 306d7f5a
parent c543ec1b
No related branches found
No related tags found
No related merge requests found
...@@ -267,7 +267,7 @@ void surround_analysis(const CELTMode *celt_mode, const void *pcm, opus_val16 *b ...@@ -267,7 +267,7 @@ void surround_analysis(const CELTMode *celt_mode, const void *pcm, opus_val16 *b
freq[i] = 0; freq[i] = 0;
} }
compute_band_energies(celt_mode, freq, bandE, 21, 1, 1<<LM); compute_band_energies(celt_mode, freq, bandE, 21, 1, LM);
amp2Log2(celt_mode, 21, 21, bandE, bandLogE+21*c, 1); amp2Log2(celt_mode, 21, 21, bandE, bandLogE+21*c, 1);
/* Apply spreading function with -6 dB/band going up and -12 dB/band going down. */ /* Apply spreading function with -6 dB/band going up and -12 dB/band going down. */
for (i=1;i<21;i++) for (i=1;i<21;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