nRF Connect SDK API 0.1.0
|
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. |