bsim: fix missing parameter in BT audio source test
PR #72571 added fallback functions to BT audio, but not all bsim tests were properly updated to use new functions signatures. This commit fixes a remaining error with the same pattern as the original PR did for "bap_broadcast_sink_test.c". Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
df788d0b41
commit
3f3c2cf0f7
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ static void validate_stream_codec_cfg(const struct bt_bap_stream *stream)
|
|||
/* The broadcast source sets the channel allocation in the BIS to
|
||||
* BT_AUDIO_LOCATION_FRONT_CENTER
|
||||
*/
|
||||
ret = bt_audio_codec_cfg_get_chan_allocation(codec_cfg, &chan_allocation);
|
||||
ret = bt_audio_codec_cfg_get_chan_allocation(codec_cfg, &chan_allocation, false);
|
||||
if (ret == 0) {
|
||||
if (chan_allocation != BT_AUDIO_LOCATION_FRONT_CENTER) {
|
||||
FAIL("Unexpected channel allocation: 0x%08X", chan_allocation);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue