[wdmaudiodev] Re: Dynamic subdevice creation

  • From: Uwe Kirst <u.kirst@xxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Thu, 04 Dec 2008 10:27:05 +0100

Jeff Pages schrieb:
I'm developing the driver for a digital radio receiver card which needs to dynamically create audio subdevices for each audio channel it finds on the broadcast multiplex. However in creating a subdevice I need to call IPort::Init which requires a pointer to the IRP_MN_START_DEVICE Irp the driver received on startup, but by the time everything's running and it's identified the various audio components on the multiplex, that Irp has long gone.
I have successfully used another irp for that purpose: the irp from my device ioctl function which toggles the subdevice creation. Seems to work here.
/Uwe


******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: