Hi! I'm making a port of Flip Disc for the iPhone and I've run into some problems in the audio area and, after some struggling, I've decided to come here and ask.
The first problem I've encountered is that wav files don't loop. I'm executing the exact same code than the PocketPC and Windows Desktop versions, maybe an issue with the OpenAL wrapper or a missing flag in my code?
The second problem is that I cannot get mod files to work. Again, I'm using the same code than the other versions. More precisely, first I load the mod file inside an instance of ClassEFile making sure I'm using the EFOF_READONLYPATH flag. Then I allocate an auxiliary buffer using ClassEMemory::Alloc and read the file's contents in there. Finally, I use the LoadMusic method from ClassESound, but it fails returning E_ERROR. Any suggestion?
Thanks in advance,
--Nacho
The first problem I've encountered is that wav files don't loop. I'm executing the exact same code than the PocketPC and Windows Desktop versions, maybe an issue with the OpenAL wrapper or a missing flag in my code?
The second problem is that I cannot get mod files to work. Again, I'm using the same code than the other versions. More precisely, first I load the mod file inside an instance of ClassEFile making sure I'm using the EFOF_READONLYPATH flag. Then I allocate an auxiliary buffer using ClassEMemory::Alloc and read the file's contents in there. Finally, I use the LoadMusic method from ClassESound, but it fails returning E_ERROR. Any suggestion?
Thanks in advance,
--Nacho