So...which audio driver for XP and Vista?
BlitzMax Forums/BlitzMax Programming/So...which audio driver for XP and Vista?
| ||
I researched the audio posts but couldn't find a definitive answer. Which audio driver should I use for Vista and XP? Thanks. |
| ||
OpenAL. You can use FreeAudio on anything pre-Vista. I have code in the code archives to determine the OS version if its any use to you. |
| ||
Thanks Gfk. Do you have to install any external .dll's or anything? I want to use sound in a screensaver and not sure about laying down a .dll in the windows folder. If a different version older/newer is there, that could cause problems. |
| ||
Yeah you need two DLLs for OpenAL. |
| ||
Does the end user need the dll's/ie install openal, or will the app work standalone? |
| ||
You don't need an "audio driver". If you are using Vista or XP, I would just use the native API commands (MCI or DirectSound) |
| ||
GaryV: some Vista machines have problems using DirectSound, where the audio is delayed by up to a second -- making it nearly unusable for sound effects and such during a game. |
| ||
Yea...esp on laptops with there sound chips. I dont' see why this can't be fixed automatically by BRL though (automatically selecting the right driver and embedding the needed libs) at compile/run. |
| ||
My notebook with Vista has the 1 sec delay issue with DirectSound. |
| ||
some Vista machines have problems using DirectSound, where the audio is delayed by up to a second -- making it nearly unusable for sound effects and such during a game. That is why I suggested using it directly and not using BM's audio drivers. |
| ||
I thought the 1 second delay was with FreeAudio. This is the first I've heard if it for DirectSound. I use Vista and only get the delay with FreeAudio, although I do have a decent soundcard and not built-in audio as you would on a laptop, so I'm not doubting. Anyway, yeah, OpenAL should be the default on Vista, with everything else using FreeAudio. I allow the end-user to change between the drivers if they so desire. |
| ||
FreeAudio works with either DirectSound or MMS - you can choose either -> "FreeAudio DirectSound" .. "FreeAudio Multimedia"". |
| ||
I never knew about those options Brucey, are they documented somewhere? Does OpenAL work on Mac? With regards to the .dlls that need to be included do they work on Mac also? Jason. |
| ||
"That is why I suggested using it directly and not using BM's audio drivers. " Is there any code available to show us how to do that? |
| ||
I thought the 1 second delay was with FreeAudio. This is the first I've heard if it for DirectSound. I use Vista and only get the delay with FreeAudio Me too... I'm just using FreeAudio in XP without changing any other settings does that mean it defaults to FreeAudio DirectSound or the other one?I use OpenAL in Vista and include the dlls in the game folder (might be an issue for a screensaver). DirectSound sometimes sounds noisy to me and has a few clicks and pops. |
| ||
@MGE: SetAudioDriver("DirectSound") As you know all my code and preferred solution is in my framework. It's worked pretty darn well. Some users have reported the sound stopping working on PC and Mac after a while but reloading makes it work again. This may suggest some memory issue somewhere, but it's not a widespread issue. |