[wdmaudiodev] Re: KS STATE PAUSE and Streaming

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Tue, 16 Sep 2008 15:39:31 -0700

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: