Re: CPullPin::Receive() being called too early.
- From: Geraint Davies <geraintd@xxxxxxxxxx>
- Date: Thu, 8 Jun 2006 10:41:34 +0100
On Tue, 6 Jun 2006 16:56:01 -0700, Phil in San Diego wrote:
i am writing a decoder filter. my graph looks like this:
file source (async) --> decoder --> directsound output
I have a CPullPin::Receive() method that does the decoding. I am getting
that call *before* I get the call to ::Run() in either my filter or input
pin. I have a check in CPullPin::Receive() that checks to see if it's
streaming:
if (S_OK != m_pInputPin->CheckStreaming())
{
return S_FALSE;
}
Which is of course is failing since ::Run() hasn't been called yet. What's
going on here? Should I wait for the ::Run() call? What should i return
here??
the pullpin would be activated by the first call to Pause, not Run, and
possibly the filter code activates the pins before it sets the filter's
state?
G
.
- Prev by Date: help!!! problem with DirectSoundFullDuplexCreate,it always fail,why
- Next by Date: Re: Getting Started with DirectX Audio
- Previous by thread: help!!! problem with DirectSoundFullDuplexCreate,it always fail,why
- Next by thread: multiple DirectSound buffers
- Index(es):
Relevant Pages
|