Problem with getting "Error retrieving channel allocation"

I'm running the nrf5340_audio_dk and using version 2.6.0-rc1. When connecting one NRF5430 as headset to another NRF5340 gateway, running BIS mode everything works fine. But, when connecting to a couple of different auracast gateways I'm getting the following error:

<err> broadcast_sink: Error retrieving channel allocation: -61

Added some debug in broadcast_sink.c to see the actual value received, line 172:

ret = bt_audio_codec_cfg_get_chan_allocation(codec, &codec_info->chan_allocation);

LOG_INF("Got channel allocation: %x", codec_info->chan_allocation);
if (ret) {
LOG_ERR("Error retrieving channel allocation: %d", ret);
//return;
}

When using the NRF5340 as gateway I get the value "3" from the above added line. The same output gives "0" for my other auracast sources. I had to comment out the "return" statement in order to make it run (se above).

Anyone seen this before?

Regards,

Henrik

Parents Reply
  • Tested towards the moor-audio transceiver product "More Duo" and their TV-streamer "TV hearMore". I also tested towards GN resound "TVStreamer+". I get it to work if I comment out the return statement above. I also get the following error messages when receiving on the left channel:

    <wrn> audio_datapath: Data received, total under-runs: 4819
    HL [00:00:57.983,520] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 20000 us)
    HL [00:00:57.983,825] <wrn> audio_datapath: Data received, total under-runs: 4829
    HL [00:00:58.103,515] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 20000 us)
    HL [00:00:58.103,820] <wrn> audio_datapath: Data received, total under-runs: 4839

    Running the headset as right channel headset it works fine. Is the above error connected to the channel allocation problem?

    Regards,

    Henrik

Children
Related