Home | History | Annotate | Download | only in mimeUri

Lines Matching refs:res

76     SLresult res;
79 res = (*caller)->GetFillLevel(caller, &level); CheckErrPlyr(res, *pPlayerId);
82 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErrPlyr(res, *pPlayerId);
107 SLresult res;
116 res = (*caller)->GetPosition(caller, &pMsec); CheckErrPlyr(res, *pPlayerId);
123 res = (*caller)->GetPosition(caller, &pMsec); CheckErrPlyr(res, *pPlayerId);
134 SLresult res;
141 res = slCreateEngine( &slEngine, 1, EngineOption, 0, NULL, NULL);
142 CheckErr(res);
144 res = (*slEngine)->Realize(slEngine, SL_BOOLEAN_FALSE);
145 CheckErr(res);
147 res = (*slEngine)->GetInterface(slEngine, SL_IID_ENGINE, (void*)&engineItf);
148 CheckErr(res);
151 res = (*engineItf)->CreateOutputMix(engineItf, &outputMix, 0,
152 iidArray, required); CheckErr(res);
154 res = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE);
155 CheckErr(res);
209 SLresult res;
213 res = (*engineItf)->CreateAudioPlayer(engineItf, &audioPlayer[playerId],
215 if (SL_RESULT_SUCCESS != res) {
224 res = (*audioPlayer[playerId])->Realize(audioPlayer[playerId], SL_BOOLEAN_FALSE);
225 if (SL_RESULT_SUCCESS != res) {
234 res = (*audioPlayer[playerId])->GetInterface(audioPlayer[playerId], SL_IID_PLAY,
236 CheckErrPlyr(res, playerId);
238 res = (*audioPlayer[playerId])->GetInterface(audioPlayer[playerId], SL_IID_VOLUME,
240 CheckErrPlyr(res, playerId);
242 res = (*audioPlayer[playerId])->GetInterface(audioPlayer[playerId], SL_IID_PREFETCHSTATUS,
244 CheckErrPlyr(res, playerId);
245 res = (*prefetchItfs[playerId])->RegisterCallback(prefetchItfs[playerId], PrefetchEventCallback,
247 CheckErrPlyr(res, playerId);
248 res = (*prefetchItfs[playerId])->SetCallbackEventsMask(prefetchItfs[playerId],
250 CheckErrPlyr(res, playerId);
253 res = (*volItfs[playerId])->SetVolumeLevel( volItfs[playerId], -300);
254 CheckErrPlyr(res, playerId);
257 res = (*playItfs[playerId])->SetMarkerPosition(playItfs[playerId], 2000);
258 CheckErrPlyr(res, playerId);
259 res = (*playItfs[playerId])->SetPositionUpdatePeriod(playItfs[playerId], 500);
260 CheckErrPlyr(res, playerId);
261 res = (*playItfs[playerId])->SetCallbackEventsMask(playItfs[playerId],
263 CheckErrPlyr(res, playerId);
264 res = (*playItfs[playerId])->RegisterCallback(playItfs[playerId], PlayEventCallback,
266 CheckErrPlyr(res, playerId);
274 res = (*playItfs[playerId])->SetPlayState( playItfs[playerId], SL_PLAYSTATE_PAUSED );
275 CheckErrPlyr(res, playerId);
281 res = (*prefetchItfs[playerId])->GetPrefetchStatus(prefetchItfs[playerId], &prefetchStatus);
282 CheckErrPlyr(res, playerId);
290 res = (*playItfs[playerId])->SetPlayState( playItfs[playerId], SL_PLAYSTATE_PLAYING );
291 CheckErrPlyr(res, playerId);
295 res = (*playItfs[playerId])->GetDuration(playItfs[playerId], &durationInMsec);
296 CheckErrPlyr(res, playerId);