![]() |
nRF Connect SDK API 3.3.99
|
| int le_audio_bitrate_get | ( | const struct bt_audio_codec_cfg *const | codec, |
| uint32_t * | bitrate ) |
#include <applications/nrf_audio/src/bluetooth/bt_stream/le_audio.h>
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. |