LEADTOOLS Multimedia API Help > Programming with LEADTOOLS Multimedia > C Code > IltmmPlay::IsRateSupported Example for C |
void IltmmPlay_IsRateSupported_Example (IltmmPlay* pPlay) { VARIANT_BOOL vrtRateSupported; IltmmPlay_IsRateSupported(pPlay, 2.0, &vrtRateSupported); if (vrtRateSupported == VARIANT_TRUE) { IltmmPlay_put_Rate(pPlay, 2.0); } }