setPlaybackDeviceMute

Mutes the audio playback device.

virtual int setPlaybackDeviceMute(bool mute) = 0;

Parameters

mute
Whether to mute the audio playback device:
  • true: Mute the audio playback device.
  • false: Unmute the audio playback device.

Returns

  • 0: Success.
  • < 0: Failure.