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

◆ le_audio_freq_hz_get()

int le_audio_freq_hz_get ( const struct bt_audio_codec_cfg * codec,
int * freq_hz )

Decode the audio sampling frequency in the codec configuration.

Parameters
[in]codecPointer to the audio codec structure.
[out]freq_hzPointer to the sampling frequency in Hz.
Returns
0 for success, error otherwise.