🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Crossplatform audio

Started by
0 comments, last by Mia_uwu 2 years, 5 months ago

Hi im making a 2D game in SDL2 atm and im having problems with playing audio in a crossplatform way

it should support:

.wav

mp3 or it or ogg

I tried using SDL mixer but i couldnt get it to work

At the moment im using plain SDL2 to play wav files but the problem is that the music files are normally ~1mb in size when in the .it format and ~50mb in wav format so i cant use that.

This topic is closed to new replies.

Advertisement