Gets the current tuning space.
#include "ltmm.h"
Language | Syntax |
---|---|
C | HRESULT IltmmTVTuner_get_TuningSpace(pTV, pVal) |
C++ | HRESULT get_TuningSpace(pVal) |
Pointer to an IltmmTVTuner interface.
Pointer to a variable to be updated with the number of the current tuning space.
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. |
A tuning space is a set of information about the available channels and the channel to frequency mapping, which can identify a particular network provider or broadcast source. Multiple tuning spaces can be determined and stored for use in multiple areas.
This function gets the number of the current tuning space being used by the tuner.
To set the index of the current tuning space used by the tuner, call IltmmTVTuner::put_TuningSpace.
To get the most precise frequency for a particular channel, use IltmmTVTuner::AutoTune. Once the frequencies for all channels have been found using AutoTune, this information can be stored by calling IltmmTVTuner::StoreAutoTune.
For more detailed information, refer to the Microsoft documentation for IAMTuner::get_TuningSpace.
Win32, x64.
Language | Example |
---|---|
C | IltmmTVTuner::put_TuningSpace |
C++ | IltmmTVTuner::put_TuningSpace |
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