[wdmaudiodev] Re: About the Connection of MPEG-1 Stream Splitter ...

  • From: "Sam Tertzakian" <sam@xxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Fri, 28 Oct 2005 00:42:13 -0700

You need to put break points (or logging) in your driver to see why your
driver is rejecting the request.

There are many things that can be going wrong.from your handlers not being
called, to some definitions being wrong, to the handlers returning incorrect
results.

 

  _____  

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of H.P. LIN
Sent: Tuesday, October 25, 2005 3:41 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] About the Connection of MPEG-1 Stream Splitter ... 

 

Dear All:

 

We are developing a MPEG1 hardware encoded device and are writing its driver
which is based on AVStream.

In this design, we need connect the output pin of source capture filter to
Microsoft's MPEG-1 Stream Splitter.

However, why cannot I connect them successfully?

I use the format structure below, is it right?

Please help me.

I don't know how to solve it. ...><...

 

static KSDATARANGE AnalogCaptureSystemStreamPinDataRange =
{
    {   sizeof(KSDATARANGE),
        0,

        64 * 512,
        0,
        STATIC_KSDATAFORMAT_TYPE_STREAM,
        STATIC_KSDATAFORMAT_TYPE_MPEG1_SYSTEM,

        STATIC_KSDATAFORMAT_SPECIFIER_NONE, 

    }
};


static PKSDATARANGE AnalogCaptureProgramStreamPinDataRangesArray[ ] = { 

    (PKSDATARANGE)(&AnalogCaptureSystemStreamPinDataRange),
};

 

DECLARE_SIMPLE_FRAMING_EX( 
    AMEBDAD_ANALOG_CAPTURE_PIN_PROGRAMSTREAM_ALLOCATOR_FRAMING,
    STATICGUIDOF(KSMEMORY_TYPE_KERNEL_NONPAGED),
    KSALLOCATOR_REQUIREMENTF_SYSTEM_MEMORY |
    KSALLOCATOR_REQUIREMENTF_PREFERENCES_ONLY,
    8,
    FILE_BYTE_ALIGNMENT,
    64 * 512,
    64 * 512
);

 

Best Regards,

H.P.

 

 

Other related posts: