Fine tunes the specified channel by scanning for the most precise signal for that channel.
#include "ltmf.h"
Language | Syntax |
---|---|
C | HRESULT IltmfTVTuner_AutoTune(pTV, Channel, pVal) |
C++ | HRESULT AutoTune(Channel, pVal) |
Pointer to an IltmfTVTuner interface.
Number of the channel to "fine tune".
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.
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 MediaFoundation documentation. |
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 IltmfTVTuner::StoreAutoTune to save the channel information.
For more detailed information, refer to the Microsoft documentation for IAMTVTuner::AutoTune.
Win32, x64.
For a C++ example, refer to IltmfTVTuner::AutoTune Example for C++.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document