MP4 AAC is a well supported playback format according to the docs, but the MonoGame content project only seems to compile MP3/WAV/WMA formats. I tried to put raw aac files in my android game but the content manager wouldnt load them, only raw wav files work, but they are large in size. I would like to know how to load aac or ogg audio files.
1 Answer
\$\begingroup\$
\$\endgroup\$
Loading OGG files should work the same as MP3s. I have this working in my own games, as simply as (pseudocode):
var sound = ContentManager.Load("blah.ogg");
sound.Play();
The issue I ran into is that some devices (especially older ones) may not always work with every kind of file format.
content manager wouldnt load them
? Did you get an exception of some sort? \$\endgroup\$