[wdmaudiodev] Re: IMiniportWaveRTStream::GetPosition 32-bit wraparound

  • From: Matt Gonzalez <matt@xxxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Fri, 07 Dec 2007 11:55:22 -0800

Ken Cooper wrote:
The code in the WDK should mod with the buffer size as you suggest.  As it 
turns out, the code in the WaveRT port driver in PortCls.sys does this mod on 
the positions returned by the miniport's GetPosition call.  With that in mind, 
it doesn't really matter whether or not you report linear or cyclic position 
values, though cyclic is consistant with the spec and consistant with the 
devices (HD Audio) that support position register mapping.

Thanks for the reply, Ken.  I will go back and double-check.


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


Other related posts: