audiomixer_toggle_output_mute()

Toggle an output channel's mute setting.

Synopsis:

#include <bps/audiomixer.h>
 
BPS_API int audiomixer_toggle_output_mute(audiomixer_output_t channel)

Since:

BlackBerry 10.0.0

Arguments:

channel

The output channel to toggle the mute setting for.

Library:

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

Description:

The audiomixer_toggle_output_mute() function toggles the mute setting of the specified output channel. This function can only be used for audio devices that have full volume control.

Returns:

BPS_SUCCESS if the mute setting was toggled successfully, BPS_FAILURE with errno set otherwise.