Struct PlaybackOptions
Struct Documentation
-
struct PlaybackOptions
Initial per-voice controls; validate before admitting playback.
Public Functions
-
void validate() const
Validate normalized finite volume; boolean looping/paused options require no further validation.
Public Members
-
float volume = 1
Linear normalized gain in[0,1], finite; independent of master gain.
-
bool looping = false
Repeat the source at its end.
-
bool paused = false
Create without starting the playback clock for this voice.
Source revision:
3542f883391d
· Build details
· Declaring source