anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceSoundSource::SetVolume

Changes the sound volume.

C++
bool SetVolume(float Volume, M32 * pDeviceResponse = NULL, void * pReserved = NULL);
Parameters 
Description 
float Volume 
[in] Volume to apply to the sound source, must be greater or equal to 0. 
M32 * pDeviceResponse = NULL 
(see Message
void * pReserved = NULL 
(see Message

true if the device received the command, false otherwise.

SetVolume allows to control sound volume from 0 (no sound) to Infinite. The default value is 1.0 (no sound modification).

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!