Hi Tim,
Thanks again for your input.
I have seen that normally IOCTL is used with WaveCyclic and WavePCI, but I also
know that theoretically WaveRT is the best choice to guarantee realtime
performances.
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.
On 29 Apr 2020, at 03:52, Tim Roberts <timr@xxxxxxxxx> wrote:
On Apr 28, 2020, at 3:29 AM, Giacomo Costantini
<giacomo.costantini3@xxxxxxxxx <mailto: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 <mailto:timr@xxxxxxxxx>
Providenza & Boekelheide, Inc.