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

◆ bt_r_and_c_volume_set()

int bt_r_and_c_volume_set ( uint8_t volume,
bool from_vcp )

#include <applications/nrf_audio/src/bluetooth/bt_rendering_and_capture/bt_rendering_and_capture.h>

Set the volume to the given volume value.

Parameters
[in]volumeValue to set the volume to (0-255).
[in]from_vcpDescribe if the function was called from a service or from somewhere else (buttons, shell, etc).
Returns
0 if success, error otherwise.