#include <applications/nrf_audio/src/bluetooth/bt_stream/unicast/unicast_server.h>
Get configuration for audio stream.
- Parameters
-
| [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. |
- Return values
-
| 0 | Operation successful. |
| -ENXIO | The feature is disabled. |