IltmfTVTuner::get_TuningSpace

Summary

Gets the current tuning space.

Syntax

#include "ltmf.h"

Language Syntax
C HRESULT IltmfTVTuner_get_TuningSpace(pTV, pVal)
C++ HRESULT get_TuningSpace(pVal)

Parameters

IltmfTVTuner *pTV

Pointer to an IltmfTVTuner interface.

long *pVal

Pointer to a variable to be updated with the number of the current tuning space.

Returns

Value Meaning
S_OK The function was successful.
<> S_OK An error occurred. Refer to the Error Codes.

Comments

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 IltmfTVTuner::put_TuningSpace.

To get the most precise frequency for a particular channel, use IltmfTVTuner::AutoTune. Once the frequencies for all channels have been found using AutoTune, this information can be stored by calling IltmfTVTuner::StoreAutoTune.

For more detailed information, refer to the Microsoft documentation for IAMTuner::get_TuningSpace.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For a C++ example, refer to IltmfTVTuner::put_TuningSpace Example for C++.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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