Set an input channel's gain.
#include <bps/audiomixer.h>
BPS_API int audiomixer_set_input_level(audiomixer_input_t channel,
float level)
BlackBerry 10.0.0
The input channel to set the gain for.
The new gain for the input channel. This value must be between 0.0 and 100.0.
The audiomixer_set_input_level() function sets the gain of the specified input channel to the specified level. This function can only be used for audio devices that have full volume control.
BPS_SUCCESS if the gain was set successfully, BPS_FAILURE with errno set otherwise.