TOnTVChannelSelected

Prev

Next

 






































































































Type of the OnTVChannelSelected event.


Unit
VidGrab

Declaration
TOnTVChannelSelected=procedure(Sender: TObject; Channel: LongInt; Locked: Boolean; DefaultVideoFrequency: LongInt; OverriddenVideoFrequency: LongInt; TunerVideoFrequency: LongInt; TunerAudioFrequency: LongInt) of object;


typedef void __fastcall(__closure *TOnTVChannelSelected)(System::TObject *Sender, int Channel, bool Locked, int DefaultVideoFrequency, int OverriddenVideoFrequency, int TunerVideoFrequency, int TunerAudioFrequency);

Description

Type of the OnTVChannelSelected event.

Channel:
Reports the current TV channel in use

Locked:
Returns true if the horizontal sync is locked for this channel.

DefaultVideoFrequency:
Reports the default video frequency for the current TV country code / tuner input type.
Can report -1 if a frequency override has been set and the default TV frequency is not saved in the registry.

OverriddenVideoFrequency:
Reports the overridden frequency for this channel, if it has been previously set by invoking TVSetChannelFrequencyOverrideVidGrab.TVideoGrabber.TVSetChannelFrequencyOverride.

TunerVideoFrequency:
Reports the current audio frequency, as reported by the TV tuner when selecting the TV channel.

TunerAudioFrequency:
Reports the current video frequency, as reported by the TV tuner when selecting the TV channel.



See Also
TTVChannelInfo TOnTVChannelScanStarted TTunerInputType GetTVChannelInfo IsHorizontalSyncLocked IsTVAudioAvailable IsTVAutoTuneRunning IsTVTunerAvailable OnTVChannelScanCompleted OnTVChannelScanStarted OnTVChannelSelected TunerFrequency TunerMode TVChannel TVClearFrequencyOverrides TVCountryCode TVGetMinMaxChannels TVSetChannelFrequencyOverride TVStartAutoScan TVStopAutoScan TVTunerInputType TVUseFrequencyOverrides VCRHorizontalLocking