Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.27
LEADTOOLS Media Foundation Help

IltmfPlay::IsRateSupported Example for C++

Show in webframe
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);
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.