diff --git a/src/btstack_lc3plus_fraunhofer.c b/src/btstack_lc3plus_fraunhofer.c index ee653f80c..686d70606 100644 --- a/src/btstack_lc3plus_fraunhofer.c +++ b/src/btstack_lc3plus_fraunhofer.c @@ -78,7 +78,11 @@ static uint8_t lc3plus_fraunhofer_decoder_configure(void * context, uint32_t sam instance->samples_per_frame = btstack_lc3_samples_per_frame(sample_rate, frame_duration); LC3PLUS_Error error; +#ifdef ENABLE_HR_MODE error = lc3plus_dec_init(decoder, sample_rate, 1, LC3PLUS_PLC_ADVANCED, 0); +#else + error = lc3plus_dec_init(decoder, sample_rate, 1, LC3PLUS_PLC_ADVANCED); +#endif btstack_assert(error == LC3PLUS_OK); error = lc3plus_dec_set_frame_dms(decoder, duration_us / 100);