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

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