[wdmaudiodev] Re: IMiniportWavePciStream::GetPosition and no mappings

  • From: "Jeff Pages" <barefeet@xxxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Tue, 12 Feb 2008 20:00:35 +1100

Hi Eugene,

My interpretation of the documentation is that GetPosition should return a count of the actual bytes processed, and in my drivers I do a sanity check that the position is <= bytes received and >= bytes released. On that basis, GetPosition stops advancing if there are no more mappings once all the outstanding mappings have been released. I'd be very interested to hear the official position on this though.

Jeff

----- Original Message ----- From: "Eugene Muzychenko" <emuzychenko@xxxxxxxxx>
To: <wdmaudiodev@xxxxxxxxxxxxx>
Sent: Tuesday, February 12, 2008 7:33 PM
Subject: [wdmaudiodev] IMiniportWavePciStream::GetPosition and no mappings


Hello!

Does anybody know how IMiniportWavePciStream::GetPosition should
handle an absence of mappings in a running stream?

In other words, should stream position progress if a stream client
did not provide a next buffer and stream's mapping list is empty? Or
stream position should count only actually processed data from
client buffers, and not to move forward if there are no buffers available?

Regards,
Eugene


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

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/



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

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: