IltmmPlay::get_SourceAudioType Example for C++

void GetPlaySourceAudioType(IltmmPlay *pPlay) 
{ 
   CString strAudioType; 
   BSTR bstr = NULL; 
 
   // get the source audio type name 
   pPlay->get_SourceAudioType(&bstr); 
 
   // format display string 
   strAudioType.Format(TEXT("Source audio type GUID is %s"), bstr); 
    
   // display the source audio type 
   MessageBox(NULL, strAudioType, TEXT("Source Audio Type"), MB_OK); 
 
   // free the bstr 
   SysFreeString(bstr); 
} 
Help Version 20.0.2019.8.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help