Lines Matching refs:res
69 SLresult res = (*caller)->GetFillLevel(caller, &level); CheckErr(res); in PrefetchEventCallback() local
72 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErr(res); in PrefetchEventCallback()
96 SLresult res; in PlayEventCallback() local
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()
131 SLresult res; in TestGetPositionUri() local
156 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestGetPositionUri()
157 CheckErr(res); in TestGetPositionUri()
171 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0, in TestGetPositionUri()
172 iidArray, required); CheckErr(res); in TestGetPositionUri()
175 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE); in TestGetPositionUri()
176 CheckErr(res); in TestGetPositionUri()
195 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 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()
203 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestGetPositionUri()
204 CheckErr(res); in TestGetPositionUri()
206 res = (*player)->GetInterface(player, SL_IID_VOLUME, (void*)&volItf); in TestGetPositionUri()
207 CheckErr(res); in TestGetPositionUri()
209 res = (*player)->GetInterface(player, SL_IID_PREFETCHSTATUS, (void*)&prefetchItf); in TestGetPositionUri()
210 CheckErr(res); in TestGetPositionUri()
211 res = (*prefetchItf)->RegisterCallback(prefetchItf, PrefetchEventCallback, &prefetchItf); in TestGetPositionUri()
212 CheckErr(res); in TestGetPositionUri()
213 res = (*prefetchItf)->SetCallbackEventsMask(prefetchItf, in TestGetPositionUri()
215 CheckErr(res); in TestGetPositionUri()
218 res = (*prefetchItf)->SetFillUpdatePeriod(prefetchItf, 50); CheckErr(res); in TestGetPositionUri()
221 res = (*playItf)->SetMarkerPosition(playItf, 2000); in TestGetPositionUri()
222 CheckErr(res); in TestGetPositionUri()
223 res = (*playItf)->SetPositionUpdatePeriod(playItf, 500); in TestGetPositionUri()
224 CheckErr(res); in TestGetPositionUri()
225 res = (*playItf)->SetCallbackEventsMask(playItf, in TestGetPositionUri()
227 CheckErr(res); in TestGetPositionUri()
228 res = (*playItf)->RegisterCallback(playItf, PlayEventCallback, NULL); in TestGetPositionUri()
229 CheckErr(res); in TestGetPositionUri()
232 res = (*volItf)->SetVolumeLevel( volItf, -300); 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()
313 SLresult res; in main() local
331 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
332 CheckErr(res); in main()
334 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
335 CheckErr(res); in main()