I am writing a Desktop / iOS game with OpenGL and want to play audio files (mp3 or wav). I have already worked with CoreAudio and AudioQueues, but now I need something that works with Windows (and possibly Linux too).
I have seen so far:
I need only basic functions like "playSound (file)" and "isPlaying (file)" - there is no 3D sound, effects, etc ... OpenAL and OpenSL - both from khronos - so I really donβt get difference (yes, these are two different libraries).
What will be the easiest cross plate? Can I write code with one of them that works on iPhone and desktop PCs similar to each other?
source share