fix compile: missing <stdint.h>, new channel mode param for sbc encoder

This commit is contained in:
Matthias Ringwald 2017-07-19 16:16:23 +02:00
parent 45f49b5884
commit 91a08b113f
2 changed files with 2 additions and 1 deletions

View File

@ -45,6 +45,7 @@
#define __AD_PARSER_H
#include "btstack_config.h"
#include <stdint.h>
#if defined __cplusplus
extern "C" {

View File

@ -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;
}