[wdmaudiodev] AVStream on Vista

  • From: "Andrew Sha" <universalkludge@xxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 27 Feb 2006 13:32:51 -0600

Hi guys,



I developed an audio driver that is implemented as an AVStream minidriver. It works fine on XP, but not on Vista. I got a hint to implement the KSPROPERTY_AUDIO_POSITION property. It sort of helps - as far as I keep the PlayOffset equal to WriteOffest (kind of kludge), it seems to work fine. But when I report the real PlayOffset that is behind the WriteOffset about 100 mS, the situation is screwed - after submitting of 30 mS of the PCM data a player issues KSPROPERTY_AUDIO_POSITION request endless, probably waiting on the PlayOffset to be advanced. So how to instruct a player (either the WMP or the graphedit) about a portion of data that is needed to be pre-buffered by my driver? My first guess was the KSPROPERTY_AUDIO_LATENCY property will do the trick, but it is not requested at all.



Any ideas?



TIA

Andrew
******************

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: