Get the output volume.
#include <acoustic/hf.h> int ioap_hf_get_output_volume(int apd, int32_t* volume);
libacoustic
The ioap_hf_get_output_volume() function retrieves the handsfree acoustic processing volume.
If your system is configured to allow the volume to be set through the API (volumecontrol is set to true in the configuration file), you can set the volume by calling ioap_hf_set_output_volume(). The valid range is from 0 (minimum) to 100 (maximum).
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |