Lines Matching refs:CheckErr
53 #define CheckErr(x) ExitOnErrorFunc(x,__LINE__) macro
75 SLresult res = (*pRateItf)->GetRate(pRateItf, &rate); CheckErr(res); in PlayEventCallback()
77 CheckErr(res); in PlayEventCallback()
84 res = (*pRateItf)->SetRate(pRateItf, rate); CheckErr(res); in PlayEventCallback()
88 CheckErr(res); in PlayEventCallback()
115 CheckErr(result); in PrefetchEventCallback()
118 CheckErr(result); in PrefetchEventCallback()
203 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); CheckErr(res); in TestSlowDownUri()
215 iidArray, required); CheckErr(res); in TestSlowDownUri()
218 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE); CheckErr(res); in TestSlowDownUri()
245 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res); in TestSlowDownUri()
248 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); in TestSlowDownUri()
252 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); CheckErr(res); in TestSlowDownUri()
254 res = (*player)->GetInterface(player, SL_IID_SEEK, (void*)&seekItf); CheckErr(res); in TestSlowDownUri()
256 res = (*player)->GetInterface(player, SL_IID_PLAYBACKRATE, (void*)&rateItf); CheckErr(res); in TestSlowDownUri()
259 CheckErr(res); in TestSlowDownUri()
261 CheckErr(res); in TestSlowDownUri()
263 SL_PREFETCHEVENT_FILLLEVELCHANGE | SL_PREFETCHEVENT_STATUSCHANGE); CheckErr(res); in TestSlowDownUri()
266 (*prefetchItf)->SetFillUpdatePeriod(prefetchItf, 50); CheckErr(res); in TestSlowDownUri()
270 res = (*playItf)->GetDuration(playItf, &durationInMsec); CheckErr(res); in TestSlowDownUri()
279 res = (*seekItf)->SetLoop(seekItf, SL_BOOLEAN_TRUE, 0, SL_TIME_UNKNOWN); CheckErr(res); in TestSlowDownUri()
283 CheckErr(res); in TestSlowDownUri()
286 res = (*playItf)->SetMarkerPosition(playItf, 1500); CheckErr(res); in TestSlowDownUri()
287 res = (*playItf)->SetPositionUpdatePeriod(playItf, 500); CheckErr(res); in TestSlowDownUri()
291 res = (*rateItf)->GetRate(rateItf, &rate); CheckErr(res); in TestSlowDownUri()
297 res = (*rateItf)->GetProperties(rateItf, &properties); CheckErr(res); in TestSlowDownUri()
316 CheckErr(res); in TestSlowDownUri()
331 CheckErr(res); in TestSlowDownUri()
337 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); CheckErr(res); in TestSlowDownUri()
351 res = (*playItf)->GetDuration(playItf, &durationInMsec); CheckErr(res); in TestSlowDownUri()
360 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); CheckErr(res); in TestSlowDownUri()
374 res = (*seekItf)->SetLoop(seekItf, SL_BOOLEAN_FALSE, 0, SL_TIME_UNKNOWN); CheckErr(res); in TestSlowDownUri()
381 res = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); CheckErr(res); in TestSlowDownUri()
416 CheckErr(res); in main()
419 CheckErr(res); in main()