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

◆ le_audio_frame_blocks_per_sdu_get()

int le_audio_frame_blocks_per_sdu_get ( const struct bt_audio_codec_cfg *  codec,
uint32_t *  frame_blks_per_sdu 
)

Decode the number of frame blocks per SDU in the codec configuration.

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