IltmfPlay::IsRateSupported Example for C++

void IsPlayerRateSupported(IltmfPlay *pPlay) 
{ 
   VARIANT_BOOL vrtRateSupported; 
  
   HRESULT hr = pPlay->IsRateSupported(2.0, &vrtRateSupported); 
   if (SUCCEEDED(hr) && vrtRateSupported == VARIANT_TRUE) 
      pPlay->put_Rate(2.0); 
} 
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.