nRF Connect SDK API 2.8.99
|
int unicast_server_config_get | ( | struct bt_conn * | conn, |
enum bt_audio_dir | dir, | ||
uint32_t * | bitrate, | ||
uint32_t * | sampling_rate_hz, | ||
uint32_t * | pres_delay_us ) |
Get configuration for audio stream.
[in] | conn | Pointer to the connection to get the configuration for. |
[in] | dir | Direction to get the configuration from. |
[out] | bitrate | Pointer to the bit rate used; can be NULL. |
[out] | sampling_rate_hz | Pointer to the sampling rate used; can be NULL. |
[out] | pres_delay_us | Pointer to the presentation delay used; can be NULL. Only valid for the sink direction. |
0 | Operation successful. |
-ENXIO | The feature is disabled. |