diff options
author | Mattias Agren <magren@broadcom.com> | 2012-04-11 13:14:44 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-07-14 11:19:17 -0700 |
commit | 2f9c0a7966a08936e8ae7a03ab8fbf1de3b22e0e (patch) | |
tree | 524f260c46e0960216900dda7559f6f87e5873f3 /embdrv | |
parent | 8e6e9356d5386501d5e0988ce23d0c9aaed31a64 (diff) | |
download | external_bluetooth_bluedroid-2f9c0a7966a08936e8ae7a03ab8fbf1de3b22e0e.zip external_bluetooth_bluedroid-2f9c0a7966a08936e8ae7a03ab8fbf1de3b22e0e.tar.gz external_bluetooth_bluedroid-2f9c0a7966a08936e8ae7a03ab8fbf1de3b22e0e.tar.bz2 |
Always check if reconfig is needed prior to starting an
avdtp stream. Added autoadjusting bitpool if sink requests
a particular range within our exported capability.
Cleanup & fixing file permissions.
Change-Id: Ib5638706d4baef072c79a70ce1497140c3357a0d
Diffstat (limited to 'embdrv')
-rw-r--r-- | embdrv/sbc/encoder/srce/sbc_encoder.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/embdrv/sbc/encoder/srce/sbc_encoder.c b/embdrv/sbc/encoder/srce/sbc_encoder.c index 281c970..ce7dbb9 100644 --- a/embdrv/sbc/encoder/srce/sbc_encoder.c +++ b/embdrv/sbc/encoder/srce/sbc_encoder.c @@ -379,6 +379,10 @@ void SBC_Encoder_Init(SBC_ENC_PARAMS *pstrEncParams) else EncMaxShiftCounter=((ENC_VX_BUFFER_SIZE-8*10*2)>>4)<<3; } + + APPL_TRACE_EVENT2("SBC_Encoder_Init : bitrate %d, bitpool %d", + pstrEncParams->u16BitRate, pstrEncParams->s16BitPool); + SbcAnalysisInit(); memset(&sbc_prtc_cb, 0, sizeof(tSBC_PRTC_CB)); |