[wdmaudiodev] Re: KsPinGetLeadingEdgeStreamPointer returns NULL

  • From: Malinnikov Aleksej <Aleksej.Malinnikov@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 29 Jun 2015 09:45:35 +0000

Do you return STATUS_PENDING or STATUS_SUCCESS from your Process callback?

I tried both, and it made no difference.

Has the graph changes to KSSTATE_RUN?

Yes.

Do you set KSPIN_FLAG_PROCESS_IN_RUN_STATE_ONLY?

Yes.


From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Tim Roberts
Sent: Friday, June 26, 2015 7:22 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: KsPinGetLeadingEdgeStreamPointer returns NULL

Malinnikov Aleksej wrote:

You just need to return and wait until your Process callback gets tickled

The problem is I *always* get NULL. Actually, if I don't specify
KSPIN_FLAG_ASYNCHRONOUS_PROCESSING in the pin descriptor, the Process callback
is called over and over again from ks!CKsQueue::SetDeviceState.

Do you return STATUS_PENDING or STATUS_SUCCESS from your Process callback? Has
the graph changes to KSSTATE_RUN, or are you still in KSSTATE_PAUSE? Do you
set KSPIN_FLAG_PROCESS_IN_RUN_STATE_ONLY?


--

Tim Roberts, timr@xxxxxxxxx<mailto:timr@xxxxxxxxx>

Providenza & Boekelheide, Inc.

Other related posts: