mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 08:37:22 +00:00
a2dp_sink_demo: fix size of decoded audio ring buffer to allow storing of complete sbc frame
This commit is contained in:
parent
01f4595269
commit
ce00c6755a
@ -100,8 +100,9 @@ static btstack_ring_buffer_t sbc_frame_ring_buffer;
|
||||
static unsigned int sbc_frame_size;
|
||||
static int sbc_samples_fix;
|
||||
|
||||
// rest buffer for not fully used sbc frames
|
||||
static uint8_t decoded_audio_storage[(MAX_SBC_FRAME_SIZE+4) * BYTES_PER_FRAME];
|
||||
// ring buffer for not fully used sbc frames
|
||||
#define MAX_NUM_SBC_SAMPLES 128
|
||||
static uint8_t decoded_audio_storage[(MAX_NUM_SBC_SAMPLES+4) * BYTES_PER_FRAME];
|
||||
static btstack_ring_buffer_t decoded_audio_ring_buffer;
|
||||
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user