From: ripmav on
Hello,
i intend to program a virtual soundcard device driver. This driver should
represent a 5.1 channel audio device. The PCM data, which it receives, will
be converted to AC3 and send via a real soundcard's spdif to another device.

I had a look at the msvad pcmex sample driver of the WinDDK. This driver
would be perfect, but I can't use userspace code with it.

Is it possible to write a virtual soundcard driver in user space?
Regards
From: ripmav on
After doing some research, I think, it's not possible to send the PCM data
from the kernelspace to the userspace..

But it should be possible to write a virtual sound card driver or a virtual
usb sound card driver with the UMDF (User mode driver framework).. Is this
possible?
From: Tim Roberts on
ripmav <ripmav(a)discussions.microsoft.com> wrote:
>
>After doing some research, I think, it's not possible to send the PCM data
>from the kernelspace to the userspace..

Of course it is. You can have a user-mode process make requests of the
driver that sit in standby until the there is data available for it.

>But it should be possible to write a virtual sound card driver or a virtual
>usb sound card driver with the UMDF (User mode driver framework).. Is this
>possible?

No. A sound card driver must be a kernel streaming device, linked with the
kernel driver ks.sys.
--
Tim Roberts, timr(a)probo.com
Providenza & Boekelheide, Inc.
From: ripmav on
>Of course it is. You can have a user-mode process make requests of the
>driver that sit in standby until the there is data available for it.

How could I achieve that?
From: ripmav on
There are some methods listed here:
http://en.wikipedia.org/wiki/Inter-process_communication
Which one would be the best?