Hi,
I see there already is an implementation of OpenAL in CocosDenshion for Linux. Is there a reason this should not be ported to Win32? I see the lack of volume control in Win32 a rather big missing feature.
Is anyone planning on implemented this? If not I’d gladly try to port it.
SDL 2.0 would make sense as it’s finally moved after years to stable, but it’s a big set of dependencies.
Regarding OpenAL, would be wise to test against OpenAL soft (http://kcat.strangesoft.net/openal.html) since other implementations are proprietary.
I’ve implemented the OpenAL version, it works pretty smooth (but no mp3 support). I’ll have a look into OpenAL soft implementation. If anyone is interested I could fine tune it and make a pull request.
If you’re implementation is more complete than current Win32 one, then you should definitely submit a PR for it.
Regarding mp3 support, I think best bet would be to have OGG support instead through libvorbis, no licensing issues therefore;
I am personally interested in
On Win32, OpenAL is implemented, setVolume per sound effect is implemented, and it supports playing MP3 via mpg123.
Strangely, there seems to be issues with wav files, or at least the format of wav that I tried to play caused a crash. Will need to look into that further.
Have yet to try to play OGG files.
WinRT AudioEngine uses XAudio2, but also supports MP3 now.
Is there a license issue regarding playing MP3 files on Windows?