Additional Audio decoders #923

merged 5 commits into from Jul 10, 2016


None yet

2 participants


What this does in detail:

  • adds another decoder for midi (based on libwildmidi)
    • sounds mostly like timidity from sdl_mixer, but supports pitch changes through our audio_resampler
    • disabled by default (needs additional magic to find configuration file)
  • adds an ogg vorbis decoder (based on either libtremor or libogg, libvorbis and libvorbisfile)
  • can use fallback decoders, when initializing a library fails
    • currently only works for mpg123 and wildmidi
    • ogg can be played by libsndfile if the oggvorbis decoder is unavailable
    • mp3 will be played by sdl_mixer (if smpeg/libmad is available), if mpg123 fails
  • reworked the other audio_decoders a bit to fix some coding style and hide all internal structures.
carstene1ns added some commits Jul 3, 2016
@carstene1ns carstene1ns Add WildMidi audio decoder b4f6ea5
@carstene1ns carstene1ns Add Ogg Vorbis audio decoder 068d927
@carstene1ns carstene1ns Add status query function for audio_decoders
If implemented, it can be used to check if the library is properly
@carstene1ns carstene1ns Mostly style-related audio_decoder fixes 17594a8
@carstene1ns carstene1ns Add additional fallback logic for audio decoders
Ghabry commented Jul 10, 2016

I'm getting slight noise sometimes when using this OGG here:

Audio hardware frequency is "32000".

@Ghabry Ghabry merged commit 69e6135 into EasyRPG:master Jul 10, 2016

6 checks passed

Android Build finished.
Linux Build finished.
OSX Build finished.
Windows Build finished.
Windows-x64 Build finished.
web Build finished.
@carstene1ns carstene1ns deleted the carstene1ns:audio_decoders branch Jul 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment