View Full Version : [OpenAL] Some OGG questions

18-12-2007, 10:36 PM
Hi all

Now i would like to get OGG playback working. So i went to Noeska's site, and downloaded the Ogg tutorial, which did not work for some reason :( The OGG extension was not found, even after putting the OGG DLL's in the EXE's directiory. I also couldn't locate "wrap_oal.dll", because the link on noeska's site was broken. :?

Secondly i tried the Oggplayer, which did work! :) Unfortunatly i could only hear the OGG file through one speaker, and that's quite a dissapointment considering the fact that i have a 5.1 surround sound set. The sound only came out of the left-front speaker. This was weird, because the OpenAL routines indicated that the file is stereo. That fact is also confirmed when i opened the OGG in goldwave. Why do i hear the sound just through one speaker?

This is a link to noeska's site:

http://www.noeska.com/doal/tutorials.aspx (check tut 9 and the Ogg-player)

Has anyone of you tried the ogg-tutorial lately? or can someone give me a hint how to get it working? Can someone show me how to get full stereo OGG playback?

Thanx. :)

18-12-2007, 10:53 PM
OMGLOL :shock: I'm really being clumsy here. My right speaker didn't work because the audio-plug wasn't connected very well. At some point the thought crossed my mind that my right speaker was broken... fortunatly not :D

The remaining question is: Why did tutorial 9 not work? :?

Any suggestions?

19-12-2007, 12:29 AM
I also couldn't locate "wrap_oal.dll", because the link on noeska's site was broken. Confuse

Just download the instaler from here:


look below ATTACHMENT, it is oalinst.exe, the instaler will copy wrap_oal.dll and Openal32.dll in \Windows\system32

19-12-2007, 08:09 AM
Unless noeska updated his ogg player, it still has same bugs as when i tried; have 1 cpu heavy lagspike in your application and music will freeze. For example opening a OpenDialog is 1 easy to think example...

19-12-2007, 05:59 PM
I think i might be able to solve that. I think i have to increase the buffer size, and change some things so that OpenAL stops complaining when the buffer is empty. Maybe it's a good idea to stop the music temporarly when there is dangerously less data left in the buffer :)

After some googling i found out that Tutorial 9 doesn't work because AL_EXT_Vorbis is deprecated.
Take a look at this thread:


19-12-2007, 07:54 PM
My ogg example code is based on a beta release of openal.