/frameworks/wilhelm/tests/examples/ |
slesTestPlayFdPath.cpp | 68 SLPlayItf playItf; 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_STOPPED) [all...] |
slesTestBassBoostPath.cpp | 72 SLPlayItf playItf; 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_STOPPED) [all...] |
slesTestEqFdPath.cpp | 77 SLPlayItf playItf; 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_STOPPED) [all...] |
slesTestEqOutputPath.cpp | 77 SLPlayItf playItf; 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_STOPPED) [all...] |
slesTestSawtoothBufferQueue.cpp | 73 SLPlayItf playItf; 122 SLPlayItf playItf; 198 (PlayItf is implicit) */ 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);
|
slesTestVirtualizerPath.cpp | 73 SLPlayItf playItf; 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_STOPPED) [all...] |
slesTestRecBuffQueue.cpp | 85 SLPlayItf playItf;
|
slesTestSendToPresetReverb.cpp | 95 SLPlayItf playItf; 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, &playState) [all...] |
slesTestDecodeToBuffQueue.cpp | 111 SLPlayItf playItf; 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; 370 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 375 result = (*playItf)->SetMarkerPosition(playItf, 2000) [all...] |
slesTestDecodeAac.cpp | 197 SLPlayItf playItf; 388 res = (*pCntxt->playItf)->GetPosition(pCntxt->playItf, &position); 391 res = (*pCntxt->playItf)->GetDuration(pCntxt->playItf, &duration); 465 SLPlayItf playItf; 549 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 553 res = (*playItf)->SetMarkerPosition(playItf, 5000); 557 res = (*playItf)->SetPositionUpdatePeriod(playItf, 3000) [all...] |
/frameworks/wilhelm/tests/mimeUri/ |
slesTestPlayStreamType.cpp | 66 SLPlayItf playItf; 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_STOPPED) [all...] |
slesTestPlayUri2.cpp | 38 /* PlayItf callback for an audio player */ 81 SLPlayItf playItf, playItf2; 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 ) [all...] |
slesTest_playStates.cpp | 66 SLPlayItf playItf; 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_PLAYING ) [all...] |
slesTestGetPositionUri.cpp | 89 /* PlayItf callback for playback events */ 144 SLPlayItf playItf; 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, PlayEventCallback, NULL) [all...] |
slesTestLoopUri.cpp | 103 /* PlayItf callback for playback events */ 139 SLPlayItf playItf; 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_PAUSED ) [all...] |
slesTestPlayUri.cpp | 97 /* PlayItf callback for playback events */ 142 SLPlayItf playItf; 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, PlayEventCallback, NULL) [all...] |
slesTestSlowDownUri.cpp | 64 /* PlayItf callback for an audio player */ 195 SLPlayItf playItf; 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, 1500); CheckErr(res) [all...] |
/frameworks/wilhelm/tests/ |
mimeUri_test.cpp | 116 SLPlayItf playItf; 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_PLAYING ) [all...] |
/frameworks/wilhelm/tests/listening/ |
slesTest_playMuteSolo.cpp | 35 SLPlayItf playItf; 101 /* PlayItf callback for an audio player, will be called for every SL_PLAYEVENT_HEADATNEWPOS event */ 105 SLPlayItf playItf = context->playItf; 111 res = (*playItf)->GetPosition(playItf, &position); ExitOnError(res); 181 SLPlayItf playItf; 247 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 270 result = (*playItf)->GetDuration(playItf, &duration) [all...] |
/frameworks/wilhelm/tests/sandbox/streamSource/ |
slesTestPlayStream.cpp | 197 SLPlayItf playItf; 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_PLAYING ) [all...] |
/frameworks/ex/variablespeed/jni/ |
variablespeed.cc | 71 SLPlayItf playItf; 518 static size_t ReadDuration(SLPlayItf playItf) { 520 OpenSL(playItf, GetDuration, &durationInMsec); 529 static size_t ReadPosition(SLPlayItf playItf) { 531 OpenSL(playItf, GetPosition, &positionInMsec); 660 callbackContext.playItf = decoderPlay; 838 totalDurationMs_ = ReadDuration(pCntxt->playItf); 841 // ReadPosition(pCntxt->playItf);
|