[wdmaudiodev] Windows 7 wave cyclic driver

  • From: Farrah Avanesov <favanesov@xxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Tue, 28 Feb 2017 15:25:51 -0500

I am trying to implement a wave cyclic driver for a PCI card that does
not support DMA and uses a FIFO for capture and playback.  In the
IDmaChannel::CopyFrom method, the data is read from the FIFO address
(stored in mCodecBase) into the Destination buffer but I just get
garbage in the wave file saved by the application.

PULONG pBuffer = (PULONG)Destination;

Source = Miniport->AdapterCommon->m_pCodecBase;

for (ByteCount /= 4; ByteCount != 0; ByteCount--)
{
    *pBuffer++ = READ_REGISTER_ULONG((PULONG)Source);
}

Can the driver access the application memory directly?

----------------------------------------------

This e-mail and any attachments may contain information that is confidential to 
Ross Video.

If you are not the intended recipient, please notify me immediately by replying 
to this message. Please also delete all copies. Thank you.
******************

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: