[wdmaudiodev] Re: KS STATE PAUSE and Streaming

  • From: "Neetu Sand" <neetu.freelist@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 17 Sep 2008 12:08:08 +0530

Hi All,

Thanks a lot for your input.The problem was that I am using DriverWorks
framework for my driver and it does not handle "CancelRequest" properly
which results in the behavior that I seeing. What happens is :


so because driver was not handling cancel SRB's everything was stuck!!

Anyway I have added code to override "CancelRequest" in Adapter and take
proper care of it. Things seem to be working fine now.

Thanks, Neetu.

On Wed, Sep 17, 2008 at 4:09 AM, Tim Roberts <timr@xxxxxxxxx> wrote:

>  AI Developer wrote:
> Are you saying that the driver should "stream" when pin state is "Pause"?
> That does not sound right to me.
> It is certainly true for video devices.  Unless the device specifically
> sets the flag saying "I can't preroll", the graph will not fully transition
> to "run" until the renderer has received at least one video frame during
> "pause".
> Neetu's description is the first time I've seen a hint that this is needed
> for audio devices as well, but that's certainly what it sounds like.
> And in the end, what's the danger?  If the graph isn't ready for you, there
> won't be any buffers queued up, so everything waits anyway.
> --
> Tim Roberts, timr@xxxxxxxxx
> Providenza & Boekelheide, Inc.

Other related posts: