GetTVChannelInfo
TVideoGrabber.GetTVChannelInfo |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns information about the current TV channel selected.
Declaration
function GetTVChannelInfo(Value: TTVChannelInfo): LongInt;
int __fastcall GetTVChannelInfo(TTVChannelInfo Value)
Function GetTVChannelInfo(param1 As TxTVChannelInfo) As Long
Description
Used to get information about the current TV channel selected.
Conditions:
- the current video capture device must have a TV tuner (IsTVTunerAvailable must return "true")
- the VideoInput property must be set to the index of "tuner" in the VideoInputs list.
- the preview or recording must be running.
Pass to this function the TTVChannelInfo valueTTVChannelInfo desired, e.g.:
CurrentDefaultFreq = VideoGrabber.GetTVChannelInfo (tci_DefaultVideoFrequency)
See Also
TTVChannelInfo TOnTVChannelScanStarted TOnTVChannelSelected TTunerInputType IsHorizontalSyncLocked IsTVAudioAvailable IsTVAutoTuneRunning IsTVTunerAvailable OnTVChannelScanCompleted OnTVChannelScanStarted OnTVChannelSelected TunerFrequency TunerMode TVChannel TVClearFrequencyOverrides TVCountryCode TVGetMinMaxChannels TVSetChannelFrequencyOverride TVStartAutoScan TVStopAutoScan TVTunerInputType TVUseFrequencyOverrides VCRHorizontalLocking