Advertisement

Crossplatform audio

Started by January 03, 2022 12:21 PM
0 comments, last by Mia_uwu 2 years, 10 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