Skip to main content
Topic: Vista + Foobar2000 + DirectSound = Sound Glitches (Read 15931 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #25
1. alchemly only is to translate DS3D to OAL, no matter working for audio player or not, it's still using DS because audio player doesn't use DS3D.

2. I will not say alchemy support 32bit for OAL, because it is a creative product, they can write the code so that 32 bit will not play in alchemy translate OAL (you are saying OAL doesn't support 32 bit based on alchemy observation).


Alchemy translates all DirectSound (DirectSound3D is a subset of DirectSound) to OpenAL.  I can assure you it's using OpenAL because I have done a little test that proves it.  Kernel Streaming blocks out DirectSound in Vista.  Play a song on Winamp using Kernel Streaming and then play a song on Foobar using DirectSound.  You will only hear the song playing on Winamp.  Then play a song on Winamp still using Kernel Streaming but now play on song on Foobar using DirectSound with ALchemy loaded, you will now hear both songs (because Kernel Streaming can't block OpenAL).  Thus proving that Foobar is indeed using OpenAL and not DirectSound with ALchemy loaded.

Why would Creative go out of their way to limit ALchemy to only 8 and 16 bit audio?  It simply doesn't make sense.  I have quoted a Creative dev that makes it perfectly clear that OpenAL (and Creative's extensions for OpenAL) only support 8 and 16 bit audio.  Just because a driver lists a format doesn't mean it supports it.

Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #26
I can't get the OpenAL plugin to work with Foobar 8.3, at 24/32 bit output it plays nothing (doesn't even start the song, which exactly what happens with Foobar using DirectSound with ALchemy loaded), and at 8/16 bit output it starts the song then Foobar just crashes (btw this plugin directly calls the ct_oal.dll driver).  So while it does crash at 8/16 bit output (I'm guessing this is a bug with the plugin), OpenAL still doesn't support 24/32 bit output even when the ct_oal.dll driver is directly called (it doesn't even start the song, and ALchemy was not loaded).

EDIT: Well the software OpenAL renderer in the plugin works with Foobar 8.3, but obviously only at 8 and 16 bit (the X-Fi hardware renderer yields the results above).

EDIT #2: Here is a screenshot of Creative's OpenAL extensions:


Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #27
ok, I'm convinced the Alchemy using OAL for DS in game mode.

are you using X-Fi? I'm going to upload an executable for you to support my claim if you are.
the exe allows you to play an FIXED POINT wave file of 1,2,6 channels of 8/16/32 bits using OAL, in any music mode.  be sure it must be FIXED POINT, fb2k 0.9 can only generate FLOATING POINT, so you better use fb2k 0.8.3 for the testing purpose.

btw, the 0.8.3 OAL component always crash and based on nvidia extension, so forget it.

get it here: http://acropolis.lokalen.org/misc/play.zip

put a fixed point wave file called "test.wav" in the same folder after extraction and run play.exe, it will play and print the channel count and bit depth, and hopefully you can hear 32 bit sound.

Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #28
ok, I'm convinced the Alchemy using OAL for DS in game mode.

are you using X-Fi? I'm going to upload an executable for you to support my claim if you are.
the exe allows you to play an FIXED POINT wave file of 1,2,6 channels of 8/16/32 bits using OAL, in any music mode.  be sure it must be FIXED POINT, fb2k 0.9 can only generate FLOATING POINT, so you better use fb2k 0.8.3 for the testing purpose.

btw, the 0.8.3 OAL component always crash and based on nvidia extension, so forget it.

get it here: http://acropolis.lokalen.org/misc/play.zip

put a fixed point wave file called "test.wav" in the same folder after extraction and run play.exe, it will play and print the channel count and bit depth, and hopefully you can hear 32 bit sound.


Your program gives me a incorrect side-by-side configuration error.   

And yes I do use the X-Fi Elite Pro on Vista x64.

Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #29
please download again, that file was linked against vc8 sp1 dll, the new one doesn't require it.
but be note that since you are using 64bit version driver, I'm not sure if your CT_OAL.DLL has the support, you search the above format string in the dll to confirm.

Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #30
please download again, that file was linked against vc8 sp1 dll, the new one doesn't require it.
but be note that since you are using 64bit version driver, I'm not sure if your CT_OAL.DLL has the support, you search the above format string in the dll to confirm.


Well when I try to play my 24 bit Bohemian Rhapsody all I get is static that ever so slightly resembles the pitch of the song (16 bit files work fine).  I'll try to craft a 32 bit file in a few minutes and then check my CT_OAL.dll file.

Hmm the 32, 16, and 8 bit files work, but not the 24 bit file.  I wonder if it's really playing back at 32 bit.

Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #31
yes, it doesn't work in 24 bit, IIRC ASIO output component in fb2k don't work for 24 bit too, it just convert to 32 bit fixed point.

do you agree it supports not just 8/16 bit now? at least doubt.

Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #32
yes, it doesn't work in 24 bit, IIRC ASIO output component in fb2k don't work for 24 bit too, it just convert to 32 bit fixed point.

do you agree it supports not just 8/16 bit now? at least doubt.


Certainly it's a possibility, I would be more confident if I saw some documentation or more applications.

Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #33
So to clarify, us with cards like the Audigy series are SOL for non-skipping music in Vista without using KS? If not, how do we make it not skip during heavy loads like on XP?

-r


Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #35
Something about being Xbox compatible. Alternatives are good, but if you drop support when there's nothing that uses this "Xaudio" in Vista (yet?), then at least make it use DS until there's something that actually uses this new platform.
Windows 10 Pro x64 // foobar2000 1.3.10

Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #36
Whats wrong with openal?
hi

Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #37
Yes, they want people to switch to XACT (The PC and Xbox360 audio API).
IIRC OpenAL only supports the commonly used (by games) bitdepth (and some other limitations)

If your skipping in foobar2000 increase your buffer.
BTW Xaudio is only present on the Xbox360, not the PC.

Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #38
Acropolis, how did you made 32-bit output support in play.exe?

Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #39
Acropolis, how did you made 32-bit output support in play.exe?


AL_FORMAT_MONO32
AL_FORMAT_STEREO32
AL_FORMAT_QUAD32
AL_FORMAT_51CHN32
AL_FORMAT_71CHN32

just put any of the above format when using the openal output of x-fi.

Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #40
I experience lots of stuttetring and clicks in Vista too. When using WMP 11 it (almost) never occurs, but in foobar quite often, and more and more the higher the cpu/hd load is.

I was thinking maybe there was some other way to give foobar highest priority, but after reading the replies here it seems as if that is not the problem.

I've tried both my built-in AC '97 and Creative Audigy 2 ZS. Same problem with both, and what I can here, equally much stuttering too .

I hope this can be resolved somehow.

Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #41
I experience lots of stuttetring and clicks in Vista too. When using WMP 11 it (almost) never occurs, but in foobar quite often, and more and more the higher the cpu/hd load is.

I was thinking maybe there was some other way to give foobar highest priority, but after reading the replies here it seems as if that is not the problem.

I've tried both my built-in AC '97 and Creative Audigy 2 ZS. Same problem with both, and what I can here, equally much stuttering too .

I hope this can be resolved somehow.


Yes I experience clicks and artifacts too when CPU load is high enough (about 70-80%). Also when there is network problems, sound stutters. I hope XAudio 2, DirectX 10.1 and SP1 will be the solution.

Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #42
Try increasing the buffer length in the output preferences.

Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #43
Vista has a completely new (and completely awesome) sound architecture. Read this for more information on the new audio architecture and why hardware DirectSound was dropped.

I don't understand what this is all about. For just plain listening you should be using the default output. You don't need ASIO or kernel streaming or anything anymore for bit-perfect output. I think some people are experiencing playback issues regardless?

I personally output at 24/48 just fine in Vista.

Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #44
I have strange stuttering and clicks on Vista X64, Sigmatel soundcard. Clicks happens from time to time, about 2-3 times per minute.
FB version 9.5. Tried clean install without any dsp. Kernel streaming driver has no effect. WMP11 and mplayer on the same machine plays just fine.

Vista + Foobar2000 + DirectSound = Sound Glitches

Reply #45
The funniest thing is that i've installed old 8.3 foobar version and it plays without any problems! I'm quiet happy with it, now looking for audioscrobbler plugin for 8.x 

Edit: Found! Foobar is the best player ever! But i don't really like that new things with coloumns in UI, so i'd better stick with 8.3.

 
SimplePortal 1.0.0 RC1 © 2008-2019