Skip to contents

Set volume for a sound (1.0 is max level).

Usage

set_sound_volume(sound, volume)

Arguments

sound

A sound.

volume

A number.

Note

This function has been auto-generated from the following Raylib function definition:

void SetSoundVolume(Sound sound, float volume);

Examples

if (FALSE) {
set_sound_volume(load_sound("sound.wav"), 0.5)
}