SDL2 and Sound
- Posted by ChrisB (moderator) Nov 03, 2022
- 1127 views
Hi Andy
Can't see a simple way to play a sound, would expect something like (pseudocode, and a bare minimum)
ptr = load_sound_file("sound file")
play_sound(ptr)
pause / volume / locate (ptr)
unload_sound(ptr)
What you have in euSDL2 doesn't look like the SDL2 docs, or it does in some places, so I'm having difficulty referencing what I think are the legacy SDL sound functions with the current SDL (2.07 +) SDL sound functions.
Do you have any examples for performing the most basic sound functions using euSDL2?
Cheers
Chris

