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

◆ unicast_client_config_get()

int unicast_client_config_get ( struct bt_conn *  conn,
enum bt_audio_dir  dir,
uint32_t *  bitrate,
uint32_t *  sampling_rate_hz 
)

Get configuration for the audio stream.

Parameters
[in]connPointer to the connection to get the configuration for.
[in]dirDirection to get the configuration from.
[out]bitratePointer to the bit rate used; can be NULL.
[out]sampling_rate_hzPointer to the sampling rate used; can be NULL.
Returns
0 for success, error otherwise.