Virtual Audio Device Driver Question

Discussion in 'Windows Vista Drivers' started by 0dbell@gmail.com, Mar 19, 2007.

  1. Guest

    I need to create a device driver that is not really tied to hardware
    but rather to a input/output buffers provided by an external
    application.

    I was hoping to implement it using UMDF, but according to sample
    sources in C:\WinDDK\6000\src\audio it seems that my only recourse is
    to use WDM.

    So, my questions are:

    1. Is my understanding correct? Is it true that an audio driver cannot
    be implemented using UMDF, even if there really isn't any hardware
    involved? (my goal is to support only XP/Vista)

    2. Can I still use KMDF (relatively easier than WDM) to write a driver
    that is based on the samples in C:\WinDDK\6000\src\audio\msvad? Or do
    I have to stick to WDM if I want to simplify my life by basing my
    device driver on on of the samples in C:\WinDDK\6000\src\audio\msvad?

    Many thanks in advance,
    Don
     
    , Mar 19, 2007
    #1
    1. Advertisements

  2. Guest

    OK - I think that I found the correct answers by myself:

    Yes. UMDF is not available for audio devices.
    No - the samples in the msvad section are WDM only. As of now, there
    are no known audio samples that are implemented using KMDF.
     
    , Mar 20, 2007
    #2
    1. Advertisements

  3. Tim Roberts Guest

    Right. Audio drivers adhere to other driver models (port class, stream
    class, AVStream) with their own wrappers and handlers. They can't be
    written in UMDF or KMDF.
     
    Tim Roberts, Mar 20, 2007
    #3
  4. Mark Heath Guest

    I take it this means I can't write a MIDI serial port driver in UMDF?

    thanks
    Mark
     
    Mark Heath, Apr 13, 2007
    #4
  5. if you need to link against avstream or some other class driver, UMDF is
    currently out of hte picture.

    d
     
    Doron Holan [MS], Apr 14, 2007
    #5
  6. thomasd

    Joined:
    May 30, 2012
    Messages:
    1
    Likes Received:
    0
    Hello everyone,
    I'm trying to do the same with not an audio but a video simulated device which will use a user-mode external library (OpenCV) to generate pictures.
    1
    Is it possible to do this with UMDF ? (I'm not sure due to specific video driver models/handlers/wrappers as Tim Roberts said)
    2
    If not, which framework is the best for this ? (WDM ?) Is it possible to include a user-mode library in a WDM video driver ? (I tried to do this from WDM samples, without success)

    Thank you so much !
     
    thomasd, May 30, 2012
    #6
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.