Re: Problems wth my own User Mode WDM Audio Driver on Windows 2003

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Kishore (Kishore_at_discussions.microsoft.com)
Date: 10/28/04


Date: Thu, 28 Oct 2004 09:39:05 -0700

Well I agree with that... However thas is not my problem. As with my initial
question, I don;t have any problem with my kernel mode driver.

My problem is that WinMM.dll is not loading my UserMode Wave driver
sometimes. Also sometimes it loads my UserMode driver and applications
looking for my wave devices work fine for simetime and suddenly they are
unable find them.

I have seen this happening only on 2003 server.

If I assume that there is some problem with my user mode driver when running
for sometime and WinMM unloaded my user mode driver, it makes some sense to
me.

However the probem even if I reboot system.

Kishore

"Maxim S. Shatskih" wrote:

> More so, I know of RTP receiver (virtual microphone) implementation which
> is purely user mode, based on WINMM and works fine. No hooking is used either.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim@storagecraft.com
> http://www.storagecraft.com
>
> "Doron Holan [MS]" <doronh@nospam.microsoft.com> wrote in message
> news:eJGU9ULvEHA.1988@TK2MSFTNGP12.phx.gbl...
> > just because you are running in kernel mode does not mean that you have
> > better performance or that your priority is boosted. you may see
> > improvements by handling i/o completion at dispatch level without having to
> > wait for the return to passive level, but for what you describe, running
> > purely in user mode would not have any penalties.
> >
> > d
> >
> > --
> > Please do not send e-mail directly to this alias. this alias is for
> > newsgroup purposes only.
> > This posting is provided "AS IS" with no warranties, and confers no rights.
> >
> >
> > "Kishore" <Kishore@discussions.microsoft.com> wrote in message
> > news:DE584D0E-E8F1-44BA-ACDD-A93C60166070@microsoft.com...
> > > Kernel mode gives better performance and real time clock
> > >
> > > "Guillaume" wrote:
> > >
> > >> Maxim S. Shatskih wrote:
> > >> >>Would kernel mode provide better performance? Purely academic on my
> > >> >>part.
> > >> >
> > >> >
> > >> > For audio, this is not a point anyway. The data flow is too small.
> > >>
> > >> Is it? Depends. 6 channels of 24-bit audio @192 kHz requires a very
> > >> steady data flow of about 3.3 MBytes/s. Not huge, but not what I call
> > >> too small either, considering the data must be provided without any
> > >> hitch.
> > >>
> >
> >
>
>
>



Relevant Pages

  • Re: How to Enable/Disable USB Device Remote Wakeup?
    ... Perhaps I should have mentioned it before; a WIA driver is not a kernel mode ... there is no such thing as a user mode driver. ...
    (microsoft.public.development.device.drivers)
  • Re: SpeedTouch USB modem and Fedora
    ... Look for instructions on how to use the kernel mode driver ... > (in contrast to the user mode driver). ... > the rpm you downloaded might be built on another distribution ...
    (Fedora)
  • Re: Interrupt request handling in user mode?
    ... I have read something about DPCs in the DDK documentation and in the example ... driver which should be a user mode driver, because the people who will work ... access level) to have access to interrupts from user mode. ...
    (microsoft.public.development.device.drivers)
  • Re: SpeedTouch USB modem and Fedora
    ... Look for instructions on how to use the kernel mode driver ... (in contrast to the user mode driver). ... the rpm you downloaded might be built on another distribution ...
    (Fedora)
  • Re: Does BusTransBusAddrToVirtual work in a user mode driver for CE 6.0
    ... It is possible to load a kernel mode driver from file system dynamically with ActivateDeviceEx API. ...
    (microsoft.public.windowsce.platbuilder)