audiomixer_set_output_mute()

Mute or un-mute an output channel.

Synopsis:

#include <bps/audiomixer.h>
 
BPS_API int audiomixer_set_output_mute(audiomixer_output_t channel,
                                       bool is_mute)

Since:

BlackBerry 10.0.0

Arguments:

channel

The output channel to mute or un-mute.

is_mute

If true the output channel is muted, if false the output channel is un-muted.

Library:

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

Description:

The audiomixer_set_output_mute() function mutes or un-mutes the specified output channel. This function can only be used for audio devices that have full volume control.

Returns:

BPS_SUCCESS if the channel was muted or un-muted successfully, BPS_FAILURE with errno set otherwise.