Re: Where is my KSSTATE_STOP notification?



On Oct 24, 5:21 pm, multiben <multi...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Hi There,
My problem, in a nutshell, is:

When playing an audio file with Windows Media Player and the player is
stopped within 21 seconds from the end of the file, my miniport driver never
receives any KSSTATE notifications. The port driver just stays in KSSTATE_RUN
and keeps calling GetPosition forever.

Once I actually shutdown Windows Media Player, I finally get the PAUSE ->
ACQUIRE -> STOP.

If I stop 22 seconds or more before the end then everything works fine. No
matter what file I use, regardless of length, sample rate, bit rate or
channels, the result is always the same.

I am baffled! Does anyone have any ideas as to where I could look next?
Thanks, Ben

If I recall correctly, you will not receive the STOP until you return
all the IRPs. Check your queues for any outstanding IRPs.


.


Loading