LEADTOOLS Media Foundation Help > Programming with LEADTOOLS Media Foundation > C++ Code > IltmfTVTuner::get_AudioSubChannel Example for C++ |
void GetCaptureTVTunerAudioSubChannel(IltmfCapture *pCapture) { IltmfTVTuner* pTuner; // try to get the capture tv tuner interface HRESULT hr = pCapture->get_TVTuner(&pTuner); if (SUCCEEDED(hr) && pTuner != NULL) { long lAudioSubChangle; pTuner->get_AudioSubChannel(&lAudioSubChangle); // release the tuner object pTuner->Release(); } }