audiomixer_set_input_mute()

Mute or un-mute an input channel.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

channel

The input channel to mute or un-mute.

is_mute

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

Library:

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

Description:

The audiomixer_set_input_mute() function mutes or un-mutes the specified input 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.