setPlaybackDeviceVolume

Sets the volume of the audio playback device.

virtual int setPlaybackDeviceVolume(int volume) = 0;

Details

Note: This method applies to Windows only.

Parameters

volume
The volume of the audio playback device. The value range is [0,255].

Returns

  • 0: Success.
  • < 0: Failure.