mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-24 03:40:07 +00:00
fix compile: missing <stdint.h>, new channel mode param for sbc encoder
This commit is contained in:
parent
45f49b5884
commit
91a08b113f
@ -45,6 +45,7 @@
|
||||
#define __AD_PARSER_H
|
||||
|
||||
#include "btstack_config.h"
|
||||
#include <stdint.h>
|
||||
|
||||
#if defined __cplusplus
|
||||
extern "C" {
|
||||
|
@ -66,7 +66,7 @@ static uint8_t msbc_buffer[2*(MSBC_FRAME_SIZE + MSBC_EXTRA_SIZE)];
|
||||
static int msbc_buffer_offset = 0;
|
||||
|
||||
void hfp_msbc_init(void){
|
||||
btstack_sbc_encoder_init(&state, SBC_MODE_mSBC, 16, 8, 0, 16000, 26);
|
||||
btstack_sbc_encoder_init(&state, SBC_MODE_mSBC, 16, 8, 0, 16000, 26, 0);
|
||||
msbc_buffer_offset = 0;
|
||||
msbc_sequence_number = 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user