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

◆ unicast_client_config_get()

int unicast_client_config_get ( struct bt_bap_stream * stream,
uint32_t * bitrate,
uint32_t * sampling_rate_hz )

#include <applications/nrf_audio/src/bluetooth/bt_stream/unicast/unicast_client.h>

Get configuration for the audio stream.

Parameters
[in]streamPointer to the stream to get the configuration for.
[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.