Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ setVolume()

void Flint::Audio::setVolume ( int id,
float volume )

Set the playback volume for a specific sound.

Parameters
idSound ID to adjust.
volumeLinear gain in [0, 1].