[wdmaudiodev] Re: My God!! Pause -> Start -> Pause -> Start -> Pause -> ......

  • From: "Harry Graham" <harry_graham@xxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 31 Oct 2005 12:12:37 -0800

This behavior can be caused by failing the transition from the
KSSTATE_PAUSE to KSSTATE_RUN.
 
Harry

________________________________

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of H.P. LIN
Sent: Saturday, October 29, 2005 8:59 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] My God!! Pause -> Start -> Pause -> Start ->
Pause -> ......


Dear All:
 
I have written an audio driver and registered it on Audio Capture
Sources category.
Then I wrote a simple application to test it.
 
When I use the capture filter from Audio Capture Sources, there is a
preview delay which is happened.
To follow the DirectShow doc., I try to modify the default buffer by
IAMBufferNegotiation interface.
The delay is disappear.
However, there is another strange problem is happened now.
After the adjusting, the DirectShow continuously sends out the Start ->
Pause -> Start -> ... commands to me.
( SetDeviceState: KSSTATE_PAUSE -> KSSTATE_RUN -> KSSTATE_PAUSE ->
KSSTATE_RUN -> ... )
Why??
If I have not modify the default buffer, it is normal.
 
Can you help me?
 
Many Thanks and Best Regards,
Hueng-Pei, Lin
 

Other related posts: