[wdmaudiodev] Re: Problem about GetMapping() / ReleaseMapping() in WavePCI

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Mon, 20 Oct 2008 11:44:23 -0700

Ken Cooper wrote:
> If you are looking to support Vista/Win7 and don’t care about
> back-porting to XP, you can use the WaveRT model that we introduced in
> Vista.  In this model the hardware DMA buffer is mapped directly into
> the application’s usermode process space and there is no streaming IRP
> flow at all.  The application writes directly into the DMA buffer
> based on the DMA position (that it can read either from a
> memory-mapped register or using the traditional property technique).

No, he can't.  Remember that he's writing a VIRTUAL driver here.  There
is no hardware.  WaveRT won't do that, because no one will be updating
the circular buffer pointers.

Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

Other related posts: