OpenAL32.dll _very_ dated - has bugs - how to use different one
by Mark Kinkead · in Torque Game Builder · 09/21/2005 (1:05 pm) · 1 replies
I had noticed an odd bug with a particular wave file (which was about 20 seconds long)where it sounded great the first time it played, but it would skip a bit about 5 seconds into it the second and subsequent times it was played.
I also noticed that this only happened on Windows. Linux did not show the oddity.
I looked into it today and isolated the problem to "alSourcePlay", which is the library call to the OpenAL32.dll
Upon further inspection of this DLL, I found I actually had 2 versions of this DLL on my box.
One was the one that came with the Torque2D distribution, and its version number was 0.9.9.1
The other was in windows/System32 directory on XP , version 5.12.1.242.
When I set things up to guarantee use of the later one on my box, the error went away.
I also note this resource
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5113
Which gives excellent advice on how to guarantee initial use of the user's library, if he has one.
--Mark
I also noticed that this only happened on Windows. Linux did not show the oddity.
I looked into it today and isolated the problem to "alSourcePlay", which is the library call to the OpenAL32.dll
Upon further inspection of this DLL, I found I actually had 2 versions of this DLL on my box.
One was the one that came with the Torque2D distribution, and its version number was 0.9.9.1
The other was in windows/System32 directory on XP , version 5.12.1.242.
When I set things up to guarantee use of the later one on my box, the error went away.
I also note this resource
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5113
Which gives excellent advice on how to guarantee initial use of the user's library, if he has one.
--Mark
Torque Owner Vashner
Edit: Well it does not work with the new DLL. So I restored the old one.
Hum...