Lines Matching refs:CheckErr
45 #define CheckErr(x) ExitOnErrorFunc(x,__LINE__) macro
69 SLresult res = (*caller)->GetFillLevel(caller, &level); CheckErr(res); in PrefetchEventCallback()
72 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErr(res); in PrefetchEventCallback()
100 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); in PlayEventCallback()
113 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); in PlayEventCallback()
118 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); in PlayEventCallback()
157 CheckErr(res); in TestGetPositionUri()
172 iidArray, required); CheckErr(res); in TestGetPositionUri()
176 CheckErr(res); in TestGetPositionUri()
196 NUM_EXPLICIT_INTERFACES_FOR_PLAYER, iidArray, required); CheckErr(res); in TestGetPositionUri()
199 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); in TestGetPositionUri()
204 CheckErr(res); in TestGetPositionUri()
207 CheckErr(res); in TestGetPositionUri()
210 CheckErr(res); in TestGetPositionUri()
212 CheckErr(res); in TestGetPositionUri()
215 CheckErr(res); in TestGetPositionUri()
218 res = (*prefetchItf)->SetFillUpdatePeriod(prefetchItf, 50); CheckErr(res); in TestGetPositionUri()
222 CheckErr(res); in TestGetPositionUri()
224 CheckErr(res); in TestGetPositionUri()
227 CheckErr(res); in TestGetPositionUri()
229 CheckErr(res); in TestGetPositionUri()
233 CheckErr(res); in TestGetPositionUri()
238 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); CheckErr(res); in TestGetPositionUri()
257 res = (*playItf)->GetDuration(playItf, &durationInMsec); CheckErr(res); in TestGetPositionUri()
266 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); CheckErr(res); in TestGetPositionUri()
272 res = (*playItf)->GetPosition(playItf, &posInMsec); CheckErr(res); in TestGetPositionUri()
298 res = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); CheckErr(res); in TestGetPositionUri()
332 CheckErr(res); in main()
335 CheckErr(res); in main()