nRF Connect SDK API 2.8.99
|
int le_audio_bitrate_get | ( | const struct bt_audio_codec_cfg *const | codec, |
uint32_t * | bitrate ) |
Get the bitrate for the codec configuration.
Decodes the audio frame duration and the number of octets per fram from the codec configuration, and calculates the bitrate.
[in] | codec | Pointer to the audio codec structure. |
[out] | bitrate | Pointer to the bitrate in bps. |