Got the BLE Audio examples for CC2642R running from https://github.com/ti-simplelink/ble_examples/blob/simplelink_sdk-1.60/examples/rtos/CC26X2R1_LAUNCHXL/ble5apps/central_bidirectional_audio/readme.md
Is there an easy way to reduce the bit rate and/or sample rate (and even channels)?
The goal is to test audio quality at 8 kHz mono. Either mSBC or ADPCM probably fine.
I did change the following line of code in audio_duplex.c for both ble5_central_bidirectional_audio_cc26x2r1lp_app and ble5_peripheral_bidirectional_audio_cc26x2r1lp_app:
// CENTRAL Configure Codec with 8 kHz jg 3/18/19 #define AUDIO_DUPLEX_SAMPLE_RATE 16000
status = AudioCodecConfig(AUDIO_CODEC_TI_3254, AUDIO_CODEC_16_BIT, 8000, AUDIO_DUPLEX_NUM_CHAN, AUDIO_DUPLEX_OUTPUT_OPTION,
AUDIO_DUPLEX_INPUT_OPTION);
But getting no audio. If I break point in CCS, ble5_central_bidirectional_audio_cc26x2r1lp_app.out will run fine in
AudioDuplex_processData() for a couple of times. But then disconnect BLE (as expected) due to stopping the code. I can definitely look closer at the data buffers.
But hoping there is a simple answer?