none
Can KSPIN_FLAG_GENERATE_MAPPINGS be used with KSPIN_FLAG_HYPERCRITICAL_PROCESSING RRS feed

  • Question

  • My audio capture and render filters set both KSPIN_FLAG_GENERATE_MAPPINGS and KSPIN_FLAG_HYPERCRITICAL_PROCESSING, as the Process dispatch callbacks need to be handled at PASSIVE_LEVEL.  The problem I see is that when KsStreamPointerDelete is invoked, it it turn calls FreeMapRegisters without raising IRQL.  This happen directly in my driver when a buffer needs to be sent downstream, but also happens in AVStream code, when the state of the pin changes.

    I wonder if this is a legal configuration of the Flags, or if there might be some other way around this.  Any suggestions greatly appreciated.

    Harry

    Wednesday, October 31, 2012 2:35 PM