[wdmaudiodev] Re: VAD processing and re-routing streams
- From: Tim Roberts <timr@xxxxxxxxx>
- To: wdmaudiodev@xxxxxxxxxxxxx
- Date: Tue, 28 Apr 2020 19:52:06 -0700
On Apr 28, 2020, at 3:29 AM, Giacomo Costantini <giacomo.costantini3@xxxxxxxxx>
wrote:
Their driver exposes private ioctls that are used by the application to
access a circular buffer of data. I've done two solutions that use this
same technique.
That starts to make some sense, thanks for the info.
I am not very familiar with IOCTLs on Windows, so if there is any code or
more specific documentation you can share or point me to, that would be of
great help.
Virtually every driver sample handles ioctls, although you’ll need to find one
that doesn’t use KMDF.
The only tricky thing about it in an audio driver is that the port class driver
has already taken over your request dispatching. You’ll have to go install a
handler for IRP_MJ_DEVICE_IO_CONTROL after calling PcInitializeAdapterDriver.
—
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
Other related posts: