SNDVOL
From QB64 Wiki
The _SNDVOL statement sets the volume of a sound using a handle from the _SNDOPEN Function.
- _SNDVOL (handle&, volume!)
Description:
- Volume is a value from 0 (silence) to 1 (full volume).
- An opened sound file must have the "VOL" capability to use this function.
Code Examples:
h& = _SNDOPEN("bell.wav", "SYNC,VOL") _SNDVOL h&, 0.5 _SNDPLAY h&
See also: