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 21.0.2021.7.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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