Get an input channel's gain.
#include <bps/audiomixer.h>
BPS_API int audiomixer_get_input_level(audiomixer_input_t channel,
float *level)
BlackBerry 10.0.0
The input channel to get the gain for.
The input channel's current gain. This value is between 0.0 and 100.0.
The audiomixer_get_input_level() function gets the gain of the specified input channel. This function can only be used for audio devices that have full volume control.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.