IltmmTVTuner::AutoTune

Summary

Fine tunes the specified channel by scanning for the most precise signal for that channel.

Syntax

#include "ltmm.h"

Language Syntax
C HRESULT IltmmTVTuner_AutoTune(pTV, Channel, pVal)
C++ HRESULT AutoTune(Channel, pVal)

Parameters

IltmmTVTuner *pTV

Pointer to an IltmmTVTuner interface.

long Channel

Number of the channel to "fine tune".

long *pVal

Pointer to a variable to be updated with a value that indicates whether the signal was found. A nonzero value indicates the signal was found. Zero indicates the signal was not found.

Returns

Value Meaning
S_OK The function was successful.
<> S_OK An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

This function maps the TV channel to a frequency and searches for the most precise frequency for this channel, in the area. Calling this function for every channel in a region or country allows you to create a table of channel and frequency information. Once all channels in the region or country have been scanned, use IltmmTVTuner::StoreAutoTune to save the channel information.

For more detailed information, refer to the Microsoft documentation for IAMTVTuner::AutoTune.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

Language Example
C IltmmTVTuner::AutoTune
C++ IltmmTVTuner::AutoTune
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.