Audio engine to use in cores

Hello, When developing a core: Is there an audio library for playing sound FX at different frequency available ? Has any core developed some kind of audio engine that could be reused ?

Do you mean a resampler? If so, yes, libretro-common has at least one.

Thanks, and do you know if there is there something more advanced ? with the possibility to play background music. Something like the audioengine from the cocos2d-x library ? Maybe some game port core has developed such a thing.

Ah, I see what you’re wanting. We don’t currently have anything like that, but mudlord is supposed to hook us up with a homegrown FLAC/wav/ogg decoder (with mp3 decoding to follow in April once all of the patents are expired), but in the meantime, stb_vorbis is a good single-file, public-domain decoding lib.

Retroluxury has an audio mixer that supports WAV and OGG, and it’s very easy to use it in a core. Other decoders can be added by following the OGG code.

We need the audio mixer in libretro-common though.

I started an open thread about it here -