Hi Tim, Yes, dataranges shown in ksstudio were according to my expectation. Also yes i am making virtual speaker and my pin is KSPIN_DATAFLOW_IN. My pin descriptor is, PCPIN_DESCRIPTOR MiniportPins[] = { // Wave Out Streaming Pin (Renderer) KSPIN_WAVE_RENDER_SINK { MAX_INPUT_STREAMS, MAX_INPUT_STREAMS, 0, NULL, { 0, NULL, 0, NULL, SIZEOF_ARRAY(PinDataRangePointersStream), PinDataRangePointersStream, KSPIN_DATAFLOW_IN, KSPIN_COMMUNICATION_SINK, &KSCATEGORY_AUDIO, NULL, 0 } }, // Wave Out Bridge Pin (Renderer) KSPIN_WAVE_RENDER_SOURCE { 0, 0, 0, NULL, { 0, NULL, 0, NULL, SIZEOF_ARRAY(PinDataRangePointersBridge), PinDataRangePointersBridge, KSPIN_DATAFLOW_OUT, KSPIN_COMMUNICATION_NONE, &KSCATEGORY_AUDIO, NULL, 0 } }, }; Can you please tell me which function exactly gets called when anyone tries to instantiate pin of wave filter ? Thanks. On Wed, Jan 29, 2014 at 11:59 PM, Tim Roberts <timr@xxxxxxxxx> wrote: > Gaurav Khuntale wrote: > > > > As you said, i tried instantiating my driver with ksstudio. I selected > > my wave filter from KS Studio and successfully instantiated pin on > > wave filter. > > > > Is failure which i mentioned is related to wave filter only ? > > After you instantiate the pin, you should be able to browse the > dataranges on the right side of the window. Make sure the dataranges > match what you expect. > > > > Also i am getting one more failure in same test case mentioned above > > saying: > > CKsPin::Instantiate. Failed to instantiate KSPIN_DATAFLOW_IN pin! > > KsCreatePin returned = 0x00000001 > > [ GetLastError() returned 1 (0x1) - Incorrect function. ]. > > FAIL: KSPROPERTY_PIN_DATAINTERSECTION Succeeded, Pin Creation Failed > > Have you double-checked your pin descriptor to make sure they are > right? You're making a virtual speaker, right? So your input pin has > to have KSPIN_DATAFLOW_IN. > > > > FAIL: Pin does not support WLP required sample frequencies of: > > - 44100 Hz > > - or 48000 Hz > > > > But my driver supports above mentioned sample frequencies, still i > > don't understand why this failure ? > > I imagine that's just a side effect of failing to create the pin. > > -- > Tim Roberts, timr@xxxxxxxxx > Providenza & Boekelheide, Inc. > > ****************** > > WDMAUDIODEV addresses: > Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx > Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe > Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe > Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx > > URL to WDMAUDIODEV page: > http://www.wdmaudiodev.com/ > >