[Openal] Problems with port to Win XP

Lastmerlin wuha at hrz.tu-chemnitz.de
Fri Feb 27 04:44:43 PST 2009


Hi all,

I used OpenAL for our game project and it worked really fine. I am using
Linux 
(Kubuntu) and Vista and it worked for both. When a teammate tried to run it 
on his Win XP a lot of strange errors occured. 
His soundcard is: Realtek High Definition Audio

I have made two small example project that show up nearly all the problems. 
You can download them here (I was unsure if you like attachments):
http://www-user.tu-chemnitz.de/~wuha/misc/sound.zip

Precisely the problems are:

soundmin:
Minimal Openal example
- when using AL_LINEAR_DISTANCE_CLAMPED there is no sound at all
- when manually creating device and context there is a segfault
- the third sound is sometimes not played (seems random :? )

winsound:
This example is a bit bigger, as I have used the OO wrapper I have written
for 
our game. Unfortunately the comments are in german, as all our teammates are 
german. Tell me, if something unclear or you generally refuse to look at it 
if it lacks comments, I will translate the comments then. (btw, all 
interesting code here is in the sound.cpp file)
- sounds are played significantly less loud than they should be
- some sounds are not played
- suddenly no more sounds are played at all
- one wav file gives AL_NONE when trying to load
The first three occur apparently random and not reproducable :(

One main problem that occurs in our game is not covered by these two: After
a 
few minutes (until then sounds are played, but with the same glitches noted 
for winsound) the programm crashes with this failed assertion:
(aLSource->TotalBufferDataSize != 0) && "Line 476 of alc.c"
What does this mean and how can we prevent it ?

None of all named errors occurs on other systems. But we have to get it 
working on this single machine, too ;)

Thank a lot for any help or suggestions.
-- 
View this message in context: http://www.nabble.com/Problems-with-port-to-Win-XP-tp22245194p22245194.html
Sent from the OpenAL - User mailing list archive at Nabble.com.



More information about the Openal mailing list