Get an input channel's gain from an AUDIOMIXER_INFO event.
#include <bps/audiomixer.h>
BPS_API float audiomixer_event_get_input_level(bps_event_t *event,
audiomixer_input_t channel)
BlackBerry 10.0.0
The AUDIOMIXER_INFO event to extract the gain from.
The input channel to get the gain for.
The audiomixer_event_get_input_level() function extracts the gain of the specified input channel from an AUDIOMIXER_INFO event. This function can only be used for audio devices that have full volume control.
The input channel's gain. This value is between 0.0 to 100.0.