/frameworks/wilhelm/tests/examples/ |
H A D | slesTestBassBoostPath.cpp | 72 SLPlayItf playItf; local 154 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 169 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 182 result = (*playItf)->GetDuration(playItf, &durationInMsec); 190 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_PLAYING ); 233 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPE [all...] |
H A D | slesTestPlayFdPath.cpp | 68 SLPlayItf playItf; local 139 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 151 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 164 result = (*playItf)->GetDuration(playItf, &durationInMsec); 171 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); 178 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPE [all...] |
H A D | slesTestSawtoothBufferQueue.cpp | 73 SLPlayItf playItf; member in struct:CallbackCntxt_ 122 SLPlayItf playItf; local 212 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 246 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); 264 res = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED);
|
H A D | slesTestVirtualizerPath.cpp | 73 SLPlayItf playItf; local 155 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 170 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 183 result = (*playItf)->GetDuration(playItf, &durationInMsec); 191 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_PLAYING ); 235 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPE [all...] |
H A D | slesTestEqFdPath.cpp | 77 SLPlayItf playItf; local 159 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 174 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 187 result = (*playItf)->GetDuration(playItf, &durationInMsec); 195 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_PLAYING ); 262 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPE [all...] |
H A D | slesTestEqOutputPath.cpp | 77 SLPlayItf playItf; local 166 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 178 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 191 result = (*playItf)->GetDuration(playItf, &durationInMsec); 199 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_PLAYING ); 266 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPE [all...] |
H A D | slesTestRecBuffQueue.cpp | 82 SLPlayItf playItf; member in struct:CallbackCntxt_
|
H A D | slesTestSendToPresetReverb.cpp | 95 SLPlayItf playItf; local 210 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 233 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 250 result = (*playItf)->GetDuration(playItf, &durationInMsec); 279 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); 286 result = (*playItf)->GetPlayState(playItf, [all...] |
H A D | slesTestDecodeToBuffQueue.cpp | 111 SLPlayItf playItf; member in struct:CallbackCntxt_ 182 SLresult result = (*pCntxt->playItf)->GetPosition(pCntxt->playItf, &msec); 219 SLresult result = (*pCntxt->playItf)->GetDuration(pCntxt->playItf, &durationInMsec); 232 SLresult result = (*pCntxt->playItf)->GetPosition(pCntxt->playItf, &posMsec); 285 SLPlayItf playItf; local 370 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 375 result = (*playItf) [all...] |
H A D | slesTestDecodeAac.cpp | 197 SLPlayItf playItf; member in struct:CallbackCntxt_ 388 res = (*pCntxt->playItf)->GetPosition(pCntxt->playItf, &position); 391 res = (*pCntxt->playItf)->GetDuration(pCntxt->playItf, &duration); 465 SLPlayItf playItf; local 549 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 553 res = (*playItf)->SetMarkerPosition(playItf, 5000); 557 res = (*playItf) [all...] |
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTestPlayStreamType.cpp | 66 SLPlayItf playItf; local 154 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 166 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 179 result = (*playItf)->GetDuration(playItf, &durationInMsec); 186 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); 214 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPE [all...] |
H A D | slesTestPlayUri2.cpp | 81 SLPlayItf playItf, playItf2; local 154 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 170 result = (*playItf)->RegisterCallback(playItf, PlayEventCallback, &playItf); 172 result = (*playItf)->SetCallbackEventsMask(playItf, 191 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 208 result = (*playItf) [all...] |
H A D | slesTest_playStates.cpp | 66 SLPlayItf playItf; local 132 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 148 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 162 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); 168 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 174 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYIN [all...] |
H A D | slesTestGetPositionUri.cpp | 144 SLPlayItf playItf; local 206 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 224 res = (*playItf)->SetMarkerPosition(playItf, 2000); 226 res = (*playItf)->SetPositionUpdatePeriod(playItf, 500); 228 res = (*playItf)->SetCallbackEventsMask(playItf, 231 res = (*playItf)->RegisterCallback(playItf, PlayEventCallbac [all...] |
H A D | slesTestLoopUri.cpp | 139 SLPlayItf playItf; local 197 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 215 res = (*playItf)->SetCallbackEventsMask(playItf, SL_PLAYEVENT_HEADATEND); 217 res = (*playItf)->RegisterCallback(playItf, PlayEventCallback, NULL); 222 res = (*playItf)->GetDuration(playItf, &durationInMsec); 237 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSE [all...] |
H A D | slesTestPlayUri.cpp | 142 SLPlayItf playItf; local 199 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 217 res = (*playItf)->SetMarkerPosition(playItf, 2000); 219 res = (*playItf)->SetPositionUpdatePeriod(playItf, 500); 221 res = (*playItf)->SetCallbackEventsMask(playItf, 224 res = (*playItf)->RegisterCallback(playItf, PlayEventCallbac [all...] |
H A D | slesTestSlowDownUri.cpp | 195 SLPlayItf playItf; local 255 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); CheckErr(res); 273 res = (*playItf)->GetDuration(playItf, &durationInMsec); CheckErr(res); 285 res = (*playItf)->RegisterCallback(playItf, PlayEventCallback, (void *) rateItf); 287 res = (*playItf)->SetCallbackEventsMask(playItf, 289 res = (*playItf)->SetMarkerPosition(playItf, 150 [all...] |
/frameworks/wilhelm/tests/listening/ |
H A D | slesTest_playMuteSolo.cpp | 35 SLPlayItf playItf; member in struct:__anon1776 105 SLPlayItf playItf = context->playItf; local 111 res = (*playItf)->GetPosition(playItf, &position); ExitOnError(res); 181 SLPlayItf playItf; local 247 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 270 result = (*playItf)->GetDuration(playItf, &duration); 291 context.playItf [all...] |
/frameworks/wilhelm/tests/ |
H A D | mimeUri_test.cpp | 116 SLPlayItf playItf; local 172 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 187 res = (*playItf)->GetDuration(playItf, &durationInMsec); 196 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 216 res = (*playItf)->GetDuration(playItf, &durationInMsec); 230 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYIN [all...] |
/frameworks/wilhelm/tests/sandbox/streamSource/ |
H A D | slesTestPlayStream.cpp | 197 SLPlayItf playItf; local 258 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); CheckErr(res); 275 res = (*playItf)->GetDuration(playItf, &durationInMsec); 292 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 341 /* res = (*playItf)->GetDuration(playItf, &durationInMsec); 351 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYIN [all...] |
/frameworks/ex/variablespeed/jni/ |
H A D | variablespeed.cc | 71 SLPlayItf playItf; member in struct:__anon1314::CallbackContext_ 511 static size_t ReadDuration(SLPlayItf playItf) { argument 513 OpenSL(playItf, GetDuration, &durationInMsec); 522 static size_t ReadPosition(SLPlayItf playItf) { argument 524 OpenSL(playItf, GetPosition, &positionInMsec); 653 callbackContext.playItf = decoderPlay; 831 totalDurationMs_ = ReadDuration(pCntxt->playItf); 834 // ReadPosition(pCntxt->playItf);
|