nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ audio_system_encoder_num_ch_set()

int audio_system_encoder_num_ch_set ( uint32_t locations)

#include <applications/nrf_audio/src/audio/audio_system.h>

Set the number of channels for the encoder based on the given audio locations.

Parameters
[in]locationsAudio locations bitmask.
Return values
-EINVALInvalid number of channels derived from locations.
0On success.