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

◆ le_audio_duration_us_get()

int le_audio_duration_us_get ( const struct bt_audio_codec_cfg *  codec,
int *  frame_dur_us 
)

Decode the audio frame duration in us in the codec configuration.

Parameters
[in]codecPointer to the audio codec structure.
[out]frame_dur_usPointer to the frame duration in us.
Returns
0 for success, error otherwise.