audiomixer_event_get_output_mute()

Get an output channel's mute status from an AUDIOMIXER_INFO event.

Synopsis:

#include <bps/audiomixer.h>
 
BPS_API bool audiomixer_event_get_output_mute(bps_event_t *event,
                                              audiomixer_output_t channel)

Since:

BlackBerry 10.0.0

Arguments:

event

The AUDIOMIXER_INFO event to extract the mute status from.

channel

The output channel to get the mute status for.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The audiomixer_event_get_output_mute() function extracts the mute status of the specified output channel from an AUDIOMIXER_INFO event. This function can only be used for audio devices that have full volume control.

Returns:

true if the output channel is muted, false otherwise.