Lines Matching refs:res

69     SLresult res = (*caller)->GetFillLevel(caller, &level); CheckErr(res);
72 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErr(res);
96 SLresult res;
100 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res);
113 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res);
118 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res);
134 SLresult res;
159 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
160 CheckErr(res);
174 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0,
175 iidArray, required); CheckErr(res);
178 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE);
179 CheckErr(res);
198 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
199 NUM_EXPLICIT_INTERFACES_FOR_PLAYER, iidArray, required); CheckErr(res);
202 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res);
206 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf);
207 CheckErr(res);
209 res = (*player)->GetInterface(player, SL_IID_VOLUME, (void*)&volItf);
210 CheckErr(res);
212 res = (*player)->GetInterface(player, SL_IID_PREFETCHSTATUS, (void*)&prefetchItf);
213 CheckErr(res);
214 res = (*prefetchItf)->RegisterCallback(prefetchItf, PrefetchEventCallback, &prefetchItf);
215 CheckErr(res);
216 res = (*prefetchItf)->SetCallbackEventsMask(prefetchItf,
218 CheckErr(res);
221 res = (*prefetchItf)->SetFillUpdatePeriod(prefetchItf, 50); CheckErr(res);
224 res = (*playItf)->SetMarkerPosition(playItf, 2000);
225 CheckErr(res);
226 res = (*playItf)->SetPositionUpdatePeriod(playItf, 500);
227 CheckErr(res);
228 res = (*playItf)->SetCallbackEventsMask(playItf,
230 CheckErr(res);
231 res = (*playItf)->RegisterCallback(playItf, PlayEventCallback, NULL);
232 CheckErr(res);
235 res = (*volItf)->SetVolumeLevel( volItf, -300);
236 CheckErr(res);
241 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); CheckErr(res);
260 res = (*playItf)->GetDuration(playItf, &durationInMsec); CheckErr(res);
269 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); CheckErr(res);
275 res = (*playItf)->GetPosition(playItf, &posInMsec); CheckErr(res);
301 res = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); CheckErr(res);
316 SLresult res;
334 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
335 CheckErr(res);
337 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
338 CheckErr(res);