SDL2 and Sound

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu