IltmfConvert::get_SourceAudioType Example for C++

void GetConvertSourceAudioType(IltmfConvert *pConvert) 
{ 
   TCHAR   szAudioType[MAX_PATH];  
   BSTR bstr = NULL; 
   // get the source audio type name 
   pConvert->get_SourceAudioType(&bstr); 
   // format display string 
   _stprintf(szAudioType, _T("Source audio type GUID is %ls"), bstr); 
    
   // display the source audio type 
   MessageBox(NULL, szAudioType, TEXT("Source Audio Type"), MB_OK); 
   // free the bstr 
   SysFreeString(bstr); 
} 
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.