MemexPlaying Sounds in SDLOn this pagePlaying Sounds in SDLSDLNon-looping Soundsโ#include <SDL2/SDL.h>Mix_PlayChannel(-1, gameโGetSound("assets/Sounds/SoundName.wav"), 0);Looping SoundsโMix_PlayChannel(-1, GetSound("assets/Sounds/Music.ogg"), -1);Halt MusicโMix_HaltChannel(channel);