Andrew_WOT
Headphoneus Supremus
- Joined
- Jan 18, 2004
- Posts
- 8,367
- Likes
- 2,691
EDIT: deleted
i am using wasapi.
what makes KS better?
[size=small]Windows: WASAPI
WASAPI (Windows Audio Standard API) is a application protocol interface developed for Windows Vista and Seven (it doesn’t exist for Windows XP) which allows for bypassing the kernel mixer without the need for a kernel streaming player or driver. The sound quality that can be obtained using WASAPI is comparable to that obtained in kernel streaming mode. One difference is that WASAPI operates in floating point format, so two conversion are needed (integer-to-floating from the player to WASAPI and floating-to-integer from WASAPI to the driver). This means that WASAPI loads the CPU a little more than plain kernel streaming. On the other hand, WASAPI allows for a wider choice of players. WASAPI is bit-perfect, provided conversion are correctly done.[/size]
KS should only be used on Windows XP since it doesn't support WASAPI, which is also a bitperfect output method, however it's much more stable and with better compatibility with a wide range of DACs. For Windows Vista/7/8, WASAPI should be used instead.
[size=small]Windows: kernel streaming
Kernel streaming is the most “audiophile” playback mode available in Windows. When a kernel streaming compatible player deals with a kernel streaming compatible device (and driver), data go from the player directly to the driver, by means of a memory buffer which is written by the player and read by the driver. This way, the kernel mixer is totally bypassed and no processing is performed on the data, except that done by the player itself. The kernel streaming mode has another advantage: it requires very few CPU time, so it allows every PC, even the less powerful one, to handle high resolution files without hiccups. Kernel streaming is inherently bit-perfect.
Windows: WASAPI
WASAPI (Windows Audio Standard API) is a application protocol interface developed for Windows Vista and Seven (it doesn’t exist for Windows XP) which allows for bypassing the kernel mixer without the need for a kernel streaming player or driver. The sound quality that can be obtained using WASAPI is comparable to that obtained in kernel streaming mode. One difference is that WASAPI operates in floating point format, so two conversion are needed (integer-to-floating from the player to WASAPI and floating-to-integer from WASAPI to the driver). This means that WASAPI loads the CPU a little more than plain kernel streaming. On the other hand, WASAPI allows for a wider choice of players. WASAPI is bit-perfect, provided conversion are correctly done.[/size]
They also think SPDIF is 5Vpp so um ya, I'll stop there![]()
6.2. Configuring a PC with Windows Vista or Windows 7
A PC with Windows Vista or Windows 7 can use hiFace Two in four different ways: Direct
Sound (DS), Kernel Streaming (KS), WASAPI and ASIO. DS is suitable for players which
can’t operate in Kernel Streaming mode nor with WASAPI or for Internet streaming; KS
can be chosen (for better performance) with players which can operate in Kernel
Streaming mode (such as FooBar, Winamp, Monkey Media, JRiver). WASAPI (Windows
Audio Standard API) is a standard interface for audio players which allows to get the same
performance of KS with applications which can’t operate in KS mode, at the cost of higher
CPU load. Much the same can be told about ASIO.
WDM KS (Windows Driver Model / Kernel Streaming) has been around since Windows 98. WMD is a universal driver structure and behavior making it possible to use a single binary driver for Windows 98 through Win7. Kernel Streaming is just what it sounds like: audio and video streams directly through the Windows Kernel offering extremely low latency. The kernel, if you’re wondering, is really the heart of an Operating System – being the lowest level software that everything else is built upon.
Since Windows 2000, MME and DirectSound are actually built on top of WDM/KS – so obviously you want to go WDM native to remove the extra layer between your software and equipment.
WASAPI (Windows Audio Session API) was introduced with Windows Vista, but hasn’t seen wide adoption because it doesn’t really provide anything that Kernel Streaming doesn’t and generally doesn’t provide better performance than ASIO.
So, WASAPI is in a weird mid point where it overlaps, but doesn’t bring much new to the table. In addition, it doesn’t provide sample rate conversion, so it requires all audio streams to use the same sample rate as the audio hardware (same as Ardour and JACK under Linux) which can either be a confusing pain the ass, or give a hit in audio quality because an application has poor conversion code.
Both links says nothing about KS being removed