/frameworks/wilhelm/tests/mimeUri/ |
slesTestPlayUri.cpp | 97 /* PlayItf callback for playback events */ 139 SLPlayItf playItf; 196 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 214 res = (*playItf)->SetMarkerPosition(playItf, 2000); 216 res = (*playItf)->SetPositionUpdatePeriod(playItf, 500); 218 res = (*playItf)->SetCallbackEventsMask(playItf, 221 res = (*playItf)->RegisterCallback(playItf, PlayEventCallback, NULL) [all...] |
slesTestLoopUri.cpp | 103 /* PlayItf callback for playback events */ 136 SLPlayItf playItf; 194 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 212 res = (*playItf)->SetCallbackEventsMask(playItf, SL_PLAYEVENT_HEADATEND); 214 res = (*playItf)->RegisterCallback(playItf, PlayEventCallback, NULL); 219 res = (*playItf)->GetDuration(playItf, &durationInMsec); 234 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ) [all...] |
slesTest_playStates.cpp | 65 SLPlayItf playItf; 131 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 147 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 161 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); 167 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 173 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ) [all...] |
slesTestGetPositionUri.cpp | 89 /* PlayItf callback for playback events */ 141 SLPlayItf playItf; 203 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 221 res = (*playItf)->SetMarkerPosition(playItf, 2000); 223 res = (*playItf)->SetPositionUpdatePeriod(playItf, 500); 225 res = (*playItf)->SetCallbackEventsMask(playItf, 228 res = (*playItf)->RegisterCallback(playItf, PlayEventCallback, NULL) [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...] |
slesTestSlowDownUri.cpp | 64 /* PlayItf callback for an audio player */ 192 SLPlayItf playItf; 252 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); CheckErr(res); 270 res = (*playItf)->GetDuration(playItf, &durationInMsec); CheckErr(res); 282 res = (*playItf)->RegisterCallback(playItf, PlayEventCallback, (void *) rateItf); 284 res = (*playItf)->SetCallbackEventsMask(playItf, 286 res = (*playItf)->SetMarkerPosition(playItf, 1500); CheckErr(res) [all...] |
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...] |
/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/examples/ |
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...] |
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...] |
slesTestPlayFdPath.cpp | 89 SLPlayItf playItf; 160 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 178 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 195 result = (*playItf)->GetDuration(playItf, &durationInMsec); 202 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); 209 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED) [all...] |
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...] |
slesTestSendToPresetReverb.cpp | 94 SLPlayItf playItf; 209 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 232 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 249 result = (*playItf)->GetDuration(playItf, &durationInMsec); 278 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); 285 result = (*playItf)->GetPlayState(playItf, &playState) [all...] |
slesTestDecodeAac.cpp | 195 SLPlayItf playItf; 387 res = (*pCntxt->playItf)->GetPosition(pCntxt->playItf, &position); 390 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...] |
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; 119 SLPlayItf playItf; 195 (PlayItf is implicit) */ 209 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 243 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); 261 res = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED);
|
slesTestRecBuffQueue.cpp | 84 SLPlayItf playItf;
|
/frameworks/wilhelm/tests/ |
mimeUri_test.cpp | 113 SLPlayItf playItf; 169 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 184 res = (*playItf)->GetDuration(playItf, &durationInMsec); 193 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 213 res = (*playItf)->GetDuration(playItf, &durationInMsec); 227 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ) [all...] |
/frameworks/wilhelm/tests/sandbox/streamSource/ |
slesTestPlayStream.cpp | 194 SLPlayItf playItf; 255 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); CheckErr(res); 272 res = (*playItf)->GetDuration(playItf, &durationInMsec); 289 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 338 /* res = (*playItf)->GetDuration(playItf, &durationInMsec); 348 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ) [all...] |
/cts/tests/tests/media/libaudiojni/ |
appendix-b-1-1-buffer-queue.cpp | 45 SLPlayItf playItf; 85 SLPlayItf playItf; 168 (PlayItf is implicit) */ 183 res = (*player)->GetInterface(player, SL_IID_PLAY, (void *)&playItf); 215 res = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_PLAYING); 232 res = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED);
|