Sign in to follow this  
rolkA

[OpenAL] Generic Software: no errors but no sound

Recommended Posts

Hi, I've got this problem for a very long time and can't find a solution : I am using OpenAL, with Visual Studio 2008 on Windows, without ALUT, and when I use the "Generic Hardware" device, everything works well : Music, ogg streaming, 3D sound, Doppler effect, multiple channels... No problem. But with the "Generic Software" device, I ear a click when the program begins, the same click when it exits, but no sound and no error (I check EVERY OpenAL call). Generic Software is important, because several computers don't have a hardware device available. - Same thing on a PC with no hardware device (no sound at all since "Generic Hardware" is not available); - Same thing on Vista 64bits and Xp SP2 32bits I'm building OpenAL from the SVN repository (creating wrap_oal.dll and openal32.dll, and linking my project to openal32.lib). I've tried the openAL 1.1 SDK from Creative (headers, lib and installer), and I get EXACTLY the same problem: no sound with "Generic Software", on both PCs. I don't understand the problem, but it's not a driver one, since I can play sound from old openAL samples (using ALUT), even on the PC with no hardware device, it works. Google has not helped me (I've found a few guys having the same issue but I didn't get any solution); Please, can someone help me ? I spent several nights on this and it is really getting on my nerves PS: Actually I ear a very very very low continuous sound, I've tried to amplify it (using OpenAL Gain then with Audacity) but it's weird. I've uploaded it here (very very amplified): Evil Sound. [Edited by - rolkA on May 8, 2008 9:23:27 PM]

Share this post


Link to post
Share on other sites
Okay that's now solved.
I misunderstood AL_PITCH, and was using a value of zero for it by default in my engine (intead of 1). The software device didn't complain and made inaudible sounds, but the hardware device was ignoring the value, thus not changing the sound at all.
This topic can be removed (I can't do it, it's too late)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this