2.2.4.24.7 XAudSoundDevice_SetVolume

The XAudSoundDevice_SetVolume message sets the master volume level for all sounds played with the sound device.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

_size

_msgid

_idObjectSubject

flVolume

_size (4 bytes): An unsigned 32-bit integer. The total message size, in bytes.

_msgid (4 bytes): A signed 32-bit integer. The message ID that is unique to the specific target. The nMsg value is 0x00000036 for this message.

_idObjectSubject (4 bytes): An unsigned 32-bit integer. The ID of the target object.

flVolume (4 bytes): A single-precision 32-bit number. The volume level. The value MUST be within the range of 0.0 and 1.0.