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

◆ hw_codec_volume_adjust()

int hw_codec_volume_adjust ( int8_t adjustment)

Adjust volume on HW_CODEC.

Also unmute the volume on HW_CODEC

Parameters
adjustmentThe adjustment in dB, can be negative or positive. If the value 0 is used, the previous known value will be written, default value will be used if no previous value exists
Returns
0 if successful, error otherwise