IltmmCapture::IsPreviewTapSupported Example for C

void IltmmCapture_IsPreviewTapSupported_Example (IltmmCapture* pCapture) 
{ 
   VARIANT_BOOL vrtSupported;  
 
   IltmmCapture_IsPreviewTapSupported(pCapture, ltmmCapture_Preview_Audio, ltmmCapture_PreviewTap_Source, &vrtSupported);  
 
   if (vrtSupported == VARIANT_TRUE)  
   { 
      VARIANT_BOOL vrtMute;  
      long lVol, lBalance;  
 
      IltmmCapture_get_Mute(pCapture, &vrtMute);  
 
      if (vrtMute == VARIANT_TRUE)  
         IltmmCapture_put_Mute(pCapture, VARIANT_FALSE);  
 
      IltmmCapture_get_Volume(pCapture, &lVol);  
 
      if (lVol == 0)  
         lVol = -10000;  
      else 
         lVol = 0;  
 
      IltmmCapture_put_Volume(pCapture, lVol);  
 
      IltmmCapture_get_Balance(pCapture, &lBalance);  
 
      if (lBalance != 0)  
         IltmmCapture_put_Balance(pCapture, 0);  
   } 
} 
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.