
[Audio]OpenAL on Vista 64
Posted Wednesday, 1 July, 2009 - 10:29 by iliak inHi
Does anyone succeded with using audio functions under Vista64 ? I downloaded the latetest release of OpenTK and installed the OpenAL dll (oalinst.exe). When I try to run the OpenAL samples from the sample browser the system prevent the sample to run (crash).
Here's the system log :
Windows NT Version 6.0 Build: 6002 Service Pack 2
Product (0x1): Windows Vista (TM) Ultimate
Edition: Ultimate
BuildString: 6002.18005.amd64fre.lh_sp2rtm.090410-1830
Flavor: Multiprocessor Free
Architecture: X64
LCID: 1036
iliak


Comments
Re: [Audio]OpenAL on Vista 64
Can you please run the debug version of Examples.exe and attach the resulting 'debug.log' to a bug report?
Edit: I haven't tested the new oalinst on Vista x64, but openal soft works flawlessly.
Re: [Audio]OpenAL on Vista 64
debug.log remains empty when I run "Playback" or "EFX:Reverb".
How do I setup openal soft ?
Re: [Audio]OpenAL on Vista 64
Strange, the debug version should pop messagebox (or at least log a message) indicating the exception.
OpenAL Soft is a simple dll. The only snag is that you need to compile the x64 version yourself: you'll need a x64 compiler, the latest DirectX SDK and CMake. If you have the dependencies, building is trivial: CMake creates a visual studio project, so it's simple click and compile.
Edit: could you paste the output of audio-info.exe (http://www.opentk.com/files/AL%20Diag%20v1.rar)?
Re: [Audio]OpenAL on Vista 64
Here's the result from my VMWare Vista64 :
The output of openal-info.exe :
Available playback devices: DirectSound Software on Haut-parleurs (VMware VMaudio (VMAUDIO) (WDM)) Wave File Writer Generic Software on Haut-parleurs (VMware VMaudio (VMAUDIO) (WDM)) Available capture devices: WaveIn on Microphone (VMware VMaudio (VMA WaveIn on EntrÚe ligne (VMware VMaudio (V WaveIn on Ligne tÚlÚphonique (VMware VMau Microphone (VMware VMaudio (VMA EntrÚe ligne (VMware VMaudio (V Ligne tÚlÚphonique (VMware VMau Default device: Generic Software Default capture device: Microphone (VMware VMaudio (VMA ALC version: 1.1 ALC extensions: ALC_ENUMERATE_ALL_EXT, ALC_ENUMERATION_EXT, ALC_EXT_CAPTURE, ALC_EXT_EFX OpenAL vendor string: Creative Labs Inc. OpenAL renderer string: Software OpenAL version string: 1.1 OpenAL extensions: EAX, EAX2.0, EAX3.0, EAX4.0, EAX5.0, EAX3.0EMULATED, EAX4.0EMULATED, AL_EXT_OFFSET, AL_EXT_LINEAR_DISTANCE, AL_EXT_EXPONENT_DISTANCE EFX version: 1.0 Max auxiliary sends: 1 Available filters: Low-pass Available effects: EAX Reverb ReverbIf you need, I can make the test on my real Vista64 machine (no VMWare).
Re: [Audio]OpenAL on Vista 64
What Fiddler said, only the OpenAL Soft driver is working flawless for Windows x64 apps. There is nothing OpenTK can do about this, it uses the exact same code for x86/x64 and the problem is completely related to faulty drivers.
Re: [Audio]OpenAL on Vista 64
Is there any tutorial on how to use OpenAL Soft ? I saw that it is possible to compile OpenAL Soft, but I do not know how cmake works...
Re: [Audio]OpenAL on Vista 64
You just run it and click on the buttons in order. The two first buttons set the input and output directories (just head to the place where you unzipped openal soft). The third configures the compiler: press it once to select the visual studio compiler then a second time to confirm the selection. The final button generates the visual studio solution.
It is not very intuitive, but it works.
Re: [Audio]OpenAL on Vista 64
Ok, I succeded in compiling the x64 and x86 version of OpenAL Soft (btw I tried to upload VS2008 projects but limits is 512Ko and the .zip is ~3Mo). Now I've a "side by side" error when I try to run samples. I renamed OpenAL soft dll as OpenAL32.Dll and it's in the same directory as the samples. Any idea ?
BTW: I can make Visual Studio 2005 projects if needed...
Re: [Audio]OpenAL on Vista 64
Side by side? Doesn't ring a bell.
You could upload the project to rapidshare or another hosting service for testing.
Re: [Audio]OpenAL on Vista 64
http://rapidshare.com/files/251903721/OpenALSoft_x86_x64.zip.html
Re: [Audio]OpenAL on Vista 64
Can you please paste the complete error message? Searching for "side by side" yields too many results.
Re: [Audio]OpenAL on Vista 64
My Windows system is in french, so I put down the error untranslated :
Enumerating audio devices. System.DllNotFoundException: Impossible de charger la DLL 'openal32.dll': L'application n'a pas pu démarrer car sa configuration côte-à-côte est incorrecte. Pour plus d'informations, voir le journal d'événements d'applications. (Exception de HRESULT : 0x800736B1) à OpenTK.Audio.Alc.IsExtensionPresent(IntPtr device, String extname) à OpenTK.Audio.AudioContext.LoadAvailableDevices() !!!FATAL ERROR !!! Message : openal32.dll StackTrace : à OpenTK.Audio.AudioContext.CreateContext(String device, Int32 freq, Int32 refresh, Boolean sync, Boolean enableEfx) à OpenTK.Audio.AudioContext..ctor(String device, Int32 freq, Int32 refresh, Boolean sync, Boolean enableEfx) à OpenTK.Audio.AudioContext..ctor() à ArcEngine.Audio.Sound.Init() à ArcEngine.Game.Run() à DungeonEye.DungeonEye.Main()Event viewer log