bluedroid/encoder: move global state from sbc_analysis into SBC_ENC_PARAMS

This commit is contained in:
Matthias Ringwald 2023-11-27 16:19:30 +01:00
parent 1d3a1229eb
commit 31f5917009
2 changed files with 487 additions and 485 deletions

View File

@ -196,6 +196,10 @@ typedef struct SBC_ENC_PARAMS_TAG
UINT16 u16PacketLength; UINT16 u16PacketLength;
/* BK4BTSTACK_CHANGE START */ /* BK4BTSTACK_CHANGE START */
UINT8 mSBCEnabled; UINT8 mSBCEnabled;
// from sbc_analysis
SINT32 s32DCTY[16];// = {0};
SINT32 s32X[ENC_VX_BUFFER_SIZE/2];
SINT16 *s16X;//=(SINT16*) s32X; /* s16X must be 32 bits aligned cf SHIFTUP_X8_2*/
/* BK4BTSTACK_CHANGE END */ /* BK4BTSTACK_CHANGE END */
}SBC_ENC_PARAMS; }SBC_ENC_PARAMS;

File diff suppressed because it is too large Load Diff