Prev: get speed between device incorrect in Win7 with two controller
Next: How to configure a ISA hardware in the "LogConfig"
From: ripmav on 18 Mar 2010 12:06 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 18 Mar 2010 17:51 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 18 Mar 2010 23:41 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 19 Mar 2010 06:49 >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 19 Mar 2010 08:31
There are some methods listed here: http://en.wikipedia.org/wiki/Inter-process_communication Which one would be the best? |