OgreAL r117 Out

Phobius

28-02-2009 09:57:40

OgreAL revision 117 is available from SVN. Here is a summary of changes.

  1. Fixed macro tests so as to make OgreAL compile without errors on Ogre 1.6.x (Shoggoth)[/*]

  2. Buffer piggybacking has been repaired. Previously, on a number of configurations, when a sound was initially loaded either as an OGG or a WAV, and then a second sound instance that used the same buffer was created, a different constructor was called on the "piggy backing" sound (the one that is using an already loaded buffer), which did not correctly initialise the buffer pointers for its own instance. This has been fixed and both OGG and WAV now are able to use piggy-backed buffers.[/*]

  3. A bug with unloading has been fixed. This was the cause of some segmentation faults that occurred, possibly again due to piggy backing. When a buffer was freed at destruction of the last instance of a sound, it was freed in both the implementation specific sound instance (OGG, WAV) and the base class (Sound). I was able to load sounds, at one time, in such a way as to also cause a double-free due to deleted pointers not being nulled. Both of these issues are fixed and neither segmentation-faults not double-frees happen now regardless of instancing conditions.[/*]

  4. OpenAL-Soft-1.6.372 compatibility has been integrated. OpenAL-Soft is a real alternative for systems that wish to use the full OpenAL set of the 1.1 specification without a compliant sound card. It does, however, seem to have broken a small rule of the standard with regard to error reporting somewhere between 1.5.304 and 1.6.372. If a device fails to be opened, not only does alcOpenDevice() return a NULL, but the alError flag is set (this is not what the standard says should be done). None the less, it is easily possible to have OgreAL be compatible with OpenAL-Soft and standard OpenAL without deviating from standard compliance. This has been put in in the form of an extra error check.[/*]
    [/list:u]

Martins1

01-03-2009 19:06:10

Good work!

yahlowgrin

17-04-2009 08:16:52

Hi,

I've tried to include OgreAL into my existing project. After doing the linking of the dll, I've added the following code:

OgreAL::SoundManager *soundManager = new OgreAL::SoundManager();

But I've encountered an error during runtime (There is no compilation error):
---------------------------
Entry Point Not Found
---------------------------
The procedure entry point ?deallocateBytes@StdAllocPolicy@Ogre@@SAXPAX@Z could not be located in the dynamic link library OgreMain.dll.

Do you have any idea why is it so?

I'm using Shoggoth 1.6.0 by the way...

Phobius

26-04-2009 11:23:33


---------------------------
Entry Point Not Found
---------------------------
The procedure entry point ?deallocateBytes@StdAllocPolicy@Ogre@@SAXPAX@Z could not be located in the dynamic link library OgreMain.dll.


Does that error actually come out of the OgreAL initialisation procedure call? It seems like it may be completely a problem with the Ogre library, not necessarily OgreAL related. Also check that you're not mixing debug with release DLLs.