Adjust an input channel's gain.
#include <bps/audiomixer.h>
BPS_API int audiomixer_adjust_input_level(audiomixer_input_t channel,
float level)
BlackBerry 10.0.0
The input channel to adjust the gain for.
The amount to adjust the channel's gain. Final level will not exceed the range of 0.0 to 100.0.
The audiomixer_adjust_input_level() function adjusts the gain of the specified input channel by the specified amount. This function can only be used for audio devices that have full volume control.
BPS_SUCCESS if the gain was adjusted successfully, BPS_FAILURE with errno set otherwise.