I found a reference to this error from around 2003 in this thread, but that was for a Windows 98 system. I'm running Vista with a RealTek High Definition Audio sound device. When I start Winamp 5.51 with the KS 3.63 plugin, I get the following error dialog:CksEnumFilters::EnumFilters failedI looked on the RealTek and Microsoft sites, but didn't have much luck. It does look like Vista supports Kernel Streaming, though. Before I embark on a major search, I thought I'd ask if any Vista users have already resolved this issue.Thanks for any help,dd_wizard
Hi, presumably you get this error when you start playing a track and not when you start Winamp? What format of audio are you playing? e.g. two channel 44.1KHz @ 16 bit? Are you using any resampling pluigins such as HQSoft?Steve
Thanks for the reply! Actually, I get this error when I start Winamp. So I never get a chance to play any type of file through the Kernel Stream. In case it matters, I'm using 44.8 KHz @ 24 bits which works fine with the normal Winamp DirectSound output plugin. From reading this thread, I didn't think enabling logging would help since the failure occurs on initialization. Is there a way to find out why the failure occurs when Winamp starts?Thanks,dd_wizard
KS 3.63 bug.On my system the 'Number of output buffers' always jumps back to '8' at next winamp restart.'winamp.ini' has the correct values though.I'm using these low buffers to get a responsive winampXPSP2Winamp v5.53SB-Xfi
In many ways you're right, it is relatively simple to scale the sample data as it passes through the plugin (just a multiply followed by a divide or a shift if your not too bothered about absolute accuracy) although it's slightly more complicated because you'd have to deal with 32 bit overflow (unless we assume the availability of 64 bit operands on the CPU which introduces potential compatibility issues).The more involved bit is adding extra interface code to let the user choose this mode of operation and additional setup code to handle attempting to set up the output pin accordingly and falling back to straight pass through should this fail and so on. None of this is truly difficult but it's a lot of work for minimal gain (none whatsoever for me as I just want a transparent digital pass-through from my PC) and runs the risk of introducing new bugs into the plugin.
Quotebut I strongly suspect the plugin of being the cause of my crashesI'd forgotten about that. When I get a moment I'll have a go at recreating this crash to see what happens. Roughly how many files does it take to crash it and what type of files are they?
but I strongly suspect the plugin of being the cause of my crashes
Additionally, since you're obviously bored - here's another feature request: prebuffering track changes to facilitate gapless playback. They've built it in the directsound plugin.
Quote from: puntloos on 17 August, 2008, 08:52:12 AMAdditionally, since you're obviously bored - here's another feature request: prebuffering track changes to facilitate gapless playback. They've built it in the directsound plugin.Erm, it's had true gapless playback for years now, you probably just need to enable it in the config panel.Bear in mind, this is true gapless playback which joins the tracks together without disruption, so, albums where the tracks merge into each other (such as dance mixes or 70's concept albums) should play just as they would on a CD. I think the direct sound plugin does some kind of whacky crossfade which would actually disrupt such material (unless it's been updated since I last looked at it a couple of years ago).The only time you should get unintentional gaps when this is enabled is when the format changes (bit rate, bit depth or number of channels) as the plugin has to release and reacquire a suitable output pin.Steve
Any chance of a post-XP compatible update?Vista introduced a terrible sound system that "grainifies" everything. At the moment I'm using a Windows 7 beta and the problem is still there. Right now I'm using the ASIO output plugin to my digidesign mbox, but to have the kernel streaming plugin would be great.Shame Microsoft can't just fix the audio really. The problem exists on every soundcard I've tried.
As far as I'm aware the plug-in should be compatible with any Windows operating system that supports Kernel Streaming (i.e. Windows 2000 onwards) as long as the sound card drivers support it too. I seem to recall reports of it working in Vista, but I can't comment on the Windows 7 Beta. I also don't have either of these operating systems installed on any of my PC's so I can't do any development work specific to them.Sounds card drivers are very important from the point of view of Kernel Streaming compatibility, for example, I've found that the latest XP drivers for the M-Audio audiophile 2496 don't seem to work for some reason although earlier ones do.
At first I apologize for not having read this very long thread. Also it is rather technical for me and I still don't understand everything.I tried to use the KS 3.63 in Winamp 5.541 but it does not work with 24 bit, although my soundcard (Theatron Agrippa = Auzentech Explosion) should support that.Maybe I am doing something completely wrong, but I cannot find out what. Btw, I am on Windows XP.I enabled logging and this is what is reported:OpenOutput - Current Settings:Chosen Filter: Theatron Agrippa Wave DeviceInput Buffer Size: 65536Output Buffer Size 8192Output Buffer Count: 8Attempting to CreateRenderPin with the following WaveFormatExtensible (first attempt):Format.nChannels = 2Format.nSamplesPerSec = 44100Format.wBitsPerSample = 32Format.nBlockAlign = 8Format.nAvgBytesPerSec = 352800Format.cbSize = 22Samples.wValidBitsPerSample = 24dwChannelMask = 00000003Failed to create pin on first attempt!Attempting to CreateRenderPin with the following WaveFormat (2nd attempt):Format.nChannels = 2Format.nSamplesPerSec = 44100Format.wBitsPerSample = 24Format.nBlockAlign = 6Format.nAvgBytesPerSec = 264600Format.cbSize = 0Samples.wValidBitsPerSample = 0dwChannelMask = 00000000What is wrong ?Thanks in advance.Ton
Hi SteveI recently discovered your plugin - it sounds very good, currently my preferred playback option. I would like to experiment with different compiler settings, and different compilers (MS vs. Intel), to see how (if at all) it affects performance. Based on my previous experience doing that with ASIO plugin, it might.Problem is, source code for ver. 3.63 is unavailable, and ver. 3.62 causes winamp to crash on start of playback, which is exactly what was fixed in 3.63.Would you be so kind to share the changes that were made in ver. 3.63?