Lines Matching refs:res

111                 SLresult res = (*caller)->Enqueue(caller,  NULL /*pBufferContext*/,
114 CheckErr(res);
187 SLresult res;
211 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
212 CheckErr(res);
226 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0,
227 iidArray, required); CheckErr(res);
230 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE);
231 CheckErr(res);
250 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
251 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res);
254 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res);
258 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); CheckErr(res);
260 res = (*player)->GetInterface(player, SL_IID_VOLUME, (void*)&volItf); CheckErr(res);
262 res = (*player)->GetInterface(player, SL_IID_ANDROIDBUFFERQUEUESOURCE, (void*)&abqItf);
263 CheckErr(res);
265 res = (*abqItf)->RegisterCallback(abqItf, AndroidBufferQueueCallback,
268 NULL /*pContext*/); CheckErr(res);
270 res = (*abqItf)->SetCallbackEventsMask(abqItf, SL_ANDROIDBUFFERQUEUEEVENT_PROCESSED);
271 CheckErr(res);
275 res = (*playItf)->GetDuration(playItf, &durationInMsec);
276 CheckErr(res);
285 res = (*volItf)->SetVolumeLevel( volItf, 0);//-300);
286 CheckErr(res);
292 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED );
294 CheckErr(res);
304 res = (*abqItf)->Enqueue(abqItf, NULL /*pBufferContext*/,
306 CheckErr(res);
318 res = (*abqItf)->Enqueue(abqItf, dataCache + i*BUFFER_SIZE, BUFFER_SIZE, NULL, 0);
319 CheckErr(res);
341 /* res = (*playItf)->GetDuration(playItf, &durationInMsec);
342 CheckErr(res);
351 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING );
352 CheckErr(res);
361 res = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED);
362 CheckErr(res);
381 SLresult res;
399 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
400 CheckErr(res);
402 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
403 CheckErr(res);