Re: AVStream driver
- From: "Arif Golde" <ArifGolde@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 2 Aug 2005 13:46:15 -0700
Thiank you Max
There is something that is a miss and is not clear about the tuner lock
reporting mechanism.
During initialization the handler for the property KSPROPERTY_TUNER_MODE_CAPS
sets the Tuner strategy as either KS_TUNER_STRATEGY_PLL or
KS_TUNER_STRATEGY_DRIVER_TUNES
Case 1
KS_TUNER_STRATEGY_PLL
I(AVStream Driver) gets a call for the get property handler for the property
KSPROPERTY_TUNER_STATUS and it returns "Success" and says unlocked by putting
p_data->SignalStrength = 0;
p_data->PLLOffset = 2;
PKSPROPERTY_TUNER_STATUS_S p_data
In this case the still filter property page still says it is locked.
Question: Why ? How come ?
Case 2
KS_TUNER_STRATEGY_DRIVER_TUNES
I(AVStream Driver) doesnt get a call for the get property handler for the
property KSPROPERTY_TUNER_STATUS.
Question: Under this scenario how would the tuner filter know that it is
locking to a frequency or not.
During these cases its the property page in graphedit reporting wrong lock
state.
I think if I call the property from a different APP it will report the right
value.
"Max Paklin" wrote:
> I'd guess that when it "doesn't work" you are returning an error or
> returning bogus info while processing KSPROPERTY_TUNER_FREQUENCY or some
> other property that gets set or queried along with it.
>
> Log all calls to your tuner handling code and see what you return.
>
> -- Max.
>
>
>
> "Arif Golde" <ArifGolde@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:913894C2-9C31-44D2-814D-07638B2D9BF1@xxxxxxxxxxxxxxxx
> > On changing frequency from graphedit I expect to receive multiple calls to
> > the set property handler for KSPROPERTY_TUNER_FREQUENCY. Under what
> > circumstances would an AVStream driver receive just one call. Also this
> > follows a call for KSPROPERTY_TUNER_STATUS which is missing in my case.
> > The
> > result of this misbehaviour is that the analog tuner control in graphedit
> > always says "Locked".
> >
>
>
>
.
- Follow-Ups:
- Re: AVStream driver
- From: Max Paklin
- Re: AVStream driver
- References:
- Re: AVStream driver
- From: Max Paklin
- Re: AVStream driver
- Prev by Date: Re: hook to DrvGradientFill does not work in my Customed 2k/XP printer driver
- Next by Date: Re: AVStream driver
- Previous by thread: Re: AVStream driver
- Next by thread: Re: AVStream driver
- Index(es):
Relevant Pages
|