chronozphere
01-12-2007, 08:44 PM
System: Windows Vista Ultimate
Compiler: Delphi 7
Libraries: OpenAL and DirectInput 8
Hey everyone. :)
I got this REALLY weird problem.
When i connect 2 joysticks to my PC and start my game, OpenAL starts acting weird. All sounds that are played, are looped (Repeated every 5 seconds). So when the game played several sounds, they become an ugly mix of repeating sound fragments. :mad:
This problem only occures on my desktop (which has vista), and not on my laptop (which has XP pro).
The problem only occurs when i connect 2 joysticks to my computer. These joysticks get enumerated by my own Input module, which is highly based on the Omegainput.pas unit (from the omega package). When my second joystick get's initialized, openAL starts acting like described above.
I allready tried a lot. A few days ago, i downloaded the latest audio drivers, so they should be OK.
I also tried some older openAL code (that i wrote a few weeks earlier), but it had the same problem. I reinstalled OpenAL, and i expirimented with some sound settings (Creative audio console). I also tested on my XP laptop (the problem didn't occur there).
I also noticed that this problem occurs when i put a breakpoint in my initialization code. The breakpoint stops the execution, i wait a few seconds, i hit F9 and when the game starts running, the same bloody OpenAL problem is there. :cry:
I've got a Creative SoundBlaster Audigy SE (if that matters) :?
Can someone help me on this? If you have ANY usefull tips or advice, please post!
Thanx a lot.
Compiler: Delphi 7
Libraries: OpenAL and DirectInput 8
Hey everyone. :)
I got this REALLY weird problem.
When i connect 2 joysticks to my PC and start my game, OpenAL starts acting weird. All sounds that are played, are looped (Repeated every 5 seconds). So when the game played several sounds, they become an ugly mix of repeating sound fragments. :mad:
This problem only occures on my desktop (which has vista), and not on my laptop (which has XP pro).
The problem only occurs when i connect 2 joysticks to my computer. These joysticks get enumerated by my own Input module, which is highly based on the Omegainput.pas unit (from the omega package). When my second joystick get's initialized, openAL starts acting like described above.
I allready tried a lot. A few days ago, i downloaded the latest audio drivers, so they should be OK.
I also tried some older openAL code (that i wrote a few weeks earlier), but it had the same problem. I reinstalled OpenAL, and i expirimented with some sound settings (Creative audio console). I also tested on my XP laptop (the problem didn't occur there).
I also noticed that this problem occurs when i put a breakpoint in my initialization code. The breakpoint stops the execution, i wait a few seconds, i hit F9 and when the game starts running, the same bloody OpenAL problem is there. :cry:
I've got a Creative SoundBlaster Audigy SE (if that matters) :?
Can someone help me on this? If you have ANY usefull tips or advice, please post!
Thanx a lot.