Obble Smith NCHSoftware wrote:
I’ve heard that Kernel Streaming is a way of creating a Direct Show
filter in kernel mode.
Well, sort of. Kernel Streaming is the generic name for all of the
streaming driver models (basically, all audio and video drivers).
Stream class, port class, AVStream and BDA are all kernel streaming drivers.
There happens to be a generic DirectShow filter (ksproxy) that allows
any kernel streaming driver to participate in a DirectShow graph.
May I enquirer if anyone knows that :
* Is this is different than an application called “DirectKS” from
MS which I’ve read is the same thing but I don’t believe it.
This Dks seems to be opening an audio driver from user mode.
DirectKS is a user-mode library that allows an application to talk
directly to a kernel streaming driver, without going through DirectShow
or ksproxy. You submit the KS ioctls yourself. It is commonly used for
audio apps, although it can do video as well.
* Is creating a KS filter allows for lag free (almost) output of
audio to another speaker?
The question isn’t meaningful. Your real audio driver and your virtual
audio driver are both kernel streaming filters already.
* Is this the best way to go to output audio from an virtual audio
driver?
What is your virtual audio driver actually doing? Tell us more detail
about the product – otherwise we can’t offer you any meaningful advice.
There is no “best way” to get audio output from a virtual audio driver.
Generally, a virtual audio driver is virtual – no connection to
hardware. If you need to filter the output stream, then you should be
using a filter driver (pre-Vista) or a GFX APO (Vista and beyond)
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.