IrrKlangSoundSetVolume

section index

## NAME

IrrKlangSoundSetVolume - sets the volume of the sound (0.0 - 1.0)

## SYNOPSIS

IrrKlangSoundSetVolume(*sound.l, vol.f)

## INPUTS

*sound.l | - | pointer to Sound that is started via IrrKlangPlay2D() or IrrKlangPlay3D()
vol.f | - | volume of the sound

## FUNCTION

sets the volume of the sound, a value between 0 (mute) and 1 (full volume).

## RESULT

nothing

## EXAMPLE

       IrrKlangSoundSetVolume(*sound,0.0)