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

◆ le_audio_octets_per_frame_get()

int le_audio_octets_per_frame_get ( const struct bt_audio_codec_cfg * codec,
uint32_t * octets_per_sdu )

Decode the number of octets per frame in the codec configuration.

Parameters
[in]codecPointer to the audio codec structure.
[out]octets_per_sduPointer to the number of octets per SDU.
Returns
0 for success, error otherwise.