mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-30 06:32:43 +00:00
sbc_decoder: declare functions as static
This commit is contained in:
parent
71174eb4bf
commit
37732e0bed
@ -208,7 +208,7 @@ static void append_received_sbc_data(bludroid_decoder_state_t * state, uint8_t *
|
|||||||
state->bytes_in_frame_buffer += size;
|
state->bytes_in_frame_buffer += size;
|
||||||
}
|
}
|
||||||
|
|
||||||
void btstack_sbc_decoder_bluedroid_simulate_error(const OI_BYTE *frame_data) {
|
static void btstack_sbc_decoder_bluedroid_simulate_error(const OI_BYTE *frame_data) {
|
||||||
static int frame_count = 0;
|
static int frame_count = 0;
|
||||||
if (corrupt_frame_period > 0){
|
if (corrupt_frame_period > 0){
|
||||||
frame_count++;
|
frame_count++;
|
||||||
@ -322,7 +322,7 @@ static void btstack_sbc_decoder_process_sbc_data(btstack_sbc_decoder_state_t * s
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void btstack_sbc_decoder_insert_missing_frames(btstack_sbc_decoder_state_t *state) {
|
static void btstack_sbc_decoder_insert_missing_frames(btstack_sbc_decoder_state_t *state) {
|
||||||
bludroid_decoder_state_t * decoder_state = (bludroid_decoder_state_t*)state->decoder_state;
|
bludroid_decoder_state_t * decoder_state = (bludroid_decoder_state_t*)state->decoder_state;
|
||||||
const unsigned int MSBC_FRAME_SIZE = 60;
|
const unsigned int MSBC_FRAME_SIZE = 60;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user