mirror of
https://github.com/xiph/opus.git
synced 2025-05-29 22:57:41 +00:00
Store decoded SILK pulses as 16-bit vector
This saves 640 bytes on the peak stack usage.
This commit is contained in:
parent
ad8371d172
commit
dce69d2b9b
7 changed files with 17 additions and 17 deletions
|
@ -196,7 +196,7 @@ opus_int silk_Decode( /* O Returns error co
|
|||
for( i = 0; i < channel_state[ 0 ].nFramesPerPacket; i++ ) {
|
||||
for( n = 0; n < decControl->nChannelsInternal; n++ ) {
|
||||
if( channel_state[ n ].LBRR_flags[ i ] ) {
|
||||
opus_int pulses[ MAX_FRAME_LENGTH ];
|
||||
opus_int16 pulses[ MAX_FRAME_LENGTH ];
|
||||
opus_int condCoding;
|
||||
|
||||
if( decControl->nChannelsInternal == 2 && n == 0 ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue