/frameworks/wilhelm/tests/listening/ |
D | slesTest_playMuteSolo.cpp | 35 SLPlayItf playItf; member 105 SLPlayItf playItf = context->playItf; in PlayEventCallback() local 111 res = (*playItf)->GetPosition(playItf, &position); ExitOnError(res); in PlayEventCallback() 181 SLPlayItf playItf; in TestPlayUri() local 247 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestPlayUri() 270 result = (*playItf)->GetDuration(playItf, &duration); in TestPlayUri() 291 context.playItf = playItf; in TestPlayUri() 296 result = (*playItf)->RegisterCallback(playItf, PlayEventCallback, (void *) &context); in TestPlayUri() 298 result = (*playItf)->SetCallbackEventsMask(playItf, SL_PLAYEVENT_HEADATNEWPOS); in TestPlayUri() 300 result = (*playItf)->SetPositionUpdatePeriod(playItf, 1000); in TestPlayUri() [all …]
|
/frameworks/wilhelm/tests/mimeUri/ |
D | slesTest_playStates.cpp | 66 SLPlayItf playItf; in TestPlayUri() local 132 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestPlayUri() 148 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestPlayUri() 162 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestPlayUri() 168 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestPlayUri() 174 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestPlayUri() 180 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); in TestPlayUri() 185 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestPlayUri() 191 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); in TestPlayUri()
|
D | slesTestPlayUri.cpp | 142 SLPlayItf playItf; in TestPlayUri() local 199 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestPlayUri() 217 res = (*playItf)->SetMarkerPosition(playItf, 2000); in TestPlayUri() 219 res = (*playItf)->SetPositionUpdatePeriod(playItf, 500); in TestPlayUri() 221 res = (*playItf)->SetCallbackEventsMask(playItf, in TestPlayUri() 224 res = (*playItf)->RegisterCallback(playItf, PlayEventCallback, NULL); in TestPlayUri() 229 res = (*playItf)->GetDuration(playItf, &durationInMsec); in TestPlayUri() 245 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestPlayUri() 267 res = (*playItf)->GetDuration(playItf, &durationInMsec); in TestPlayUri() 276 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestPlayUri() [all …]
|
D | slesTestGetPositionUri.cpp | 144 SLPlayItf playItf; in TestGetPositionUri() local 206 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestGetPositionUri() 224 res = (*playItf)->SetMarkerPosition(playItf, 2000); in TestGetPositionUri() 226 res = (*playItf)->SetPositionUpdatePeriod(playItf, 500); in TestGetPositionUri() 228 res = (*playItf)->SetCallbackEventsMask(playItf, in TestGetPositionUri() 231 res = (*playItf)->RegisterCallback(playItf, PlayEventCallback, NULL); in TestGetPositionUri() 241 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); CheckErr(res); in TestGetPositionUri() 260 res = (*playItf)->GetDuration(playItf, &durationInMsec); CheckErr(res); in TestGetPositionUri() 269 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); CheckErr(res); in TestGetPositionUri() 275 res = (*playItf)->GetPosition(playItf, &posInMsec); CheckErr(res); in TestGetPositionUri() [all …]
|
D | slesTestSlowDownUri.cpp | 195 SLPlayItf playItf; in TestSlowDownUri() local 255 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); CheckErr(res); in TestSlowDownUri() 273 res = (*playItf)->GetDuration(playItf, &durationInMsec); CheckErr(res); in TestSlowDownUri() 285 … res = (*playItf)->RegisterCallback(playItf, PlayEventCallback, (void *) rateItf); CheckErr(res); in TestSlowDownUri() 286 res = (*playItf)->SetCallbackEventsMask(playItf, in TestSlowDownUri() 288 res = (*playItf)->SetMarkerPosition(playItf, 1500); CheckErr(res); in TestSlowDownUri() 289 res = (*playItf)->SetPositionUpdatePeriod(playItf, 500); CheckErr(res); in TestSlowDownUri() 338 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); CheckErr(res); in TestSlowDownUri() 352 res = (*playItf)->GetDuration(playItf, &durationInMsec); CheckErr(res); in TestSlowDownUri() 361 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); CheckErr(res); in TestSlowDownUri() [all …]
|
D | slesTestLoopUri.cpp | 139 SLPlayItf playItf; in TestLoopUri() local 197 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestLoopUri() 215 res = (*playItf)->SetCallbackEventsMask(playItf, SL_PLAYEVENT_HEADATEND); in TestLoopUri() 217 res = (*playItf)->RegisterCallback(playItf, PlayEventCallback, NULL); in TestLoopUri() 222 res = (*playItf)->GetDuration(playItf, &durationInMsec); in TestLoopUri() 237 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestLoopUri() 252 res = (*playItf)->GetDuration(playItf, &durationInMsec); in TestLoopUri() 262 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestLoopUri() 276 res = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); in TestLoopUri()
|
D | slesTestPlayUri2.cpp | 81 SLPlayItf playItf, playItf2; in TestPlayUri() local 154 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestPlayUri() 170 result = (*playItf)->RegisterCallback(playItf, PlayEventCallback, &playItf); in TestPlayUri() 172 result = (*playItf)->SetCallbackEventsMask(playItf, in TestPlayUri() 191 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestPlayUri() 208 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestPlayUri() 219 result = (*playItf)->GetDuration(playItf, &durationInMsec); in TestPlayUri() 235 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); in TestPlayUri()
|
D | slesTestPlayStreamType.cpp | 66 SLPlayItf playItf; in TestStreamTypeConfiguration() local 154 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestStreamTypeConfiguration() 166 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestStreamTypeConfiguration() 179 result = (*playItf)->GetDuration(playItf, &durationInMsec); in TestStreamTypeConfiguration() 186 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestStreamTypeConfiguration() 214 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); in TestStreamTypeConfiguration()
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestDecodeToBuffQueue.cpp | 111 SLPlayItf playItf; member 182 SLresult result = (*pCntxt->playItf)->GetPosition(pCntxt->playItf, &msec); in DecPlayCallback() 219 SLresult result = (*pCntxt->playItf)->GetDuration(pCntxt->playItf, &durationInMsec); in DecPlayCallback() 232 SLresult result = (*pCntxt->playItf)->GetPosition(pCntxt->playItf, &posMsec); in DecPlayCallback() 285 SLPlayItf playItf; in TestDecToBuffQueue() local 370 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestDecToBuffQueue() 375 result = (*playItf)->SetMarkerPosition(playItf, 2000); in TestDecToBuffQueue() 377 result = (*playItf)->SetPositionUpdatePeriod(playItf, 500); in TestDecToBuffQueue() 379 result = (*playItf)->SetCallbackEventsMask(playItf, in TestDecToBuffQueue() 382 result = (*playItf)->RegisterCallback(playItf, DecProgressCallback, NULL); in TestDecToBuffQueue() [all …]
|
D | slesTestDecodeAac.cpp | 197 SLPlayItf playItf; member 388 res = (*pCntxt->playItf)->GetPosition(pCntxt->playItf, &position); in DecPlayCallback() 391 res = (*pCntxt->playItf)->GetDuration(pCntxt->playItf, &duration); in DecPlayCallback() 465 SLPlayItf playItf; in TestDecToBuffQueue() local 549 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestDecToBuffQueue() 553 res = (*playItf)->SetMarkerPosition(playItf, 5000); in TestDecToBuffQueue() 557 res = (*playItf)->SetPositionUpdatePeriod(playItf, 3000); in TestDecToBuffQueue() 561 res = (*playItf)->SetCallbackEventsMask(playItf, in TestDecToBuffQueue() 564 res = (*playItf)->RegisterCallback(playItf, PlayCallback /*callback*/, NULL /*pContext*/); in TestDecToBuffQueue() 569 res = (*playItf)->GetPosition(playItf, &position); in TestDecToBuffQueue() [all …]
|
D | slesTestPlayFdPath.cpp | 68 SLPlayItf playItf; in TestPlayPathFromFD() local 139 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestPlayPathFromFD() 151 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestPlayPathFromFD() 164 result = (*playItf)->GetDuration(playItf, &durationInMsec); in TestPlayPathFromFD() 171 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestPlayPathFromFD() 178 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); in TestPlayPathFromFD()
|
D | slesTestBassBoostPath.cpp | 72 SLPlayItf playItf; in TestBassBoostPathFromFD() local 154 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestBassBoostPathFromFD() 169 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestBassBoostPathFromFD() 182 result = (*playItf)->GetDuration(playItf, &durationInMsec); in TestBassBoostPathFromFD() 190 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_PLAYING ); in TestBassBoostPathFromFD() 233 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); in TestBassBoostPathFromFD()
|
D | slesTestVirtualizerPath.cpp | 73 SLPlayItf playItf; in TestVirtualizerPathFromFD() local 155 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestVirtualizerPathFromFD() 170 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestVirtualizerPathFromFD() 183 result = (*playItf)->GetDuration(playItf, &durationInMsec); in TestVirtualizerPathFromFD() 191 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_PLAYING ); in TestVirtualizerPathFromFD() 235 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); in TestVirtualizerPathFromFD()
|
D | slesTestSendToPresetReverb.cpp | 95 SLPlayItf playItf; in TestSendToPresetReverb() local 210 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestSendToPresetReverb() 233 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestSendToPresetReverb() 250 result = (*playItf)->GetDuration(playItf, &durationInMsec); in TestSendToPresetReverb() 279 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestSendToPresetReverb() 286 result = (*playItf)->GetPlayState(playItf, &playState); in TestSendToPresetReverb() 310 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); in TestSendToPresetReverb()
|
D | slesTestEqOutputPath.cpp | 77 SLPlayItf playItf; in TestEQPathFromFD() local 166 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestEQPathFromFD() 178 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestEQPathFromFD() 191 result = (*playItf)->GetDuration(playItf, &durationInMsec); in TestEQPathFromFD() 199 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_PLAYING ); in TestEQPathFromFD() 266 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); in TestEQPathFromFD()
|
D | slesTestEqFdPath.cpp | 77 SLPlayItf playItf; in TestEQPathFromFD() local 159 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestEQPathFromFD() 174 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestEQPathFromFD() 187 result = (*playItf)->GetDuration(playItf, &durationInMsec); in TestEQPathFromFD() 195 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_PLAYING ); in TestEQPathFromFD() 262 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); in TestEQPathFromFD()
|
D | slesTestSawtoothBufferQueue.cpp | 73 SLPlayItf playItf; member 122 SLPlayItf playItf; in TestPlaySawtoothBufferQueue() local 212 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestPlaySawtoothBufferQueue() 246 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestPlaySawtoothBufferQueue() 264 res = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); in TestPlaySawtoothBufferQueue()
|
D | slesTestRecBuffQueue.cpp | 82 SLPlayItf playItf; member
|
/frameworks/wilhelm/tests/ |
D | mimeUri_test.cpp | 116 SLPlayItf playItf; in TestPlayUri() local 172 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestPlayUri() 187 res = (*playItf)->GetDuration(playItf, &durationInMsec); in TestPlayUri() 196 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestPlayUri() 216 res = (*playItf)->GetDuration(playItf, &durationInMsec); in TestPlayUri() 230 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestPlayUri() 238 res = (*playItf)->GetPosition(playItf, ¤tPositionInMsec); in TestPlayUri() 251 res = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); in TestPlayUri()
|
/frameworks/wilhelm/tests/sandbox/streamSource/ |
D | slesTestPlayStream.cpp | 197 SLPlayItf playItf; in TestPlayStream() local 258 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); CheckErr(res); in TestPlayStream() 275 res = (*playItf)->GetDuration(playItf, &durationInMsec); in TestPlayStream() 292 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestPlayStream() 351 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestPlayStream() 361 res = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); in TestPlayStream()
|
/frameworks/ex/variablespeed/jni/ |
D | variablespeed.cc | 71 SLPlayItf playItf; member 511 static size_t ReadDuration(SLPlayItf playItf) { in ReadDuration() argument 513 OpenSL(playItf, GetDuration, &durationInMsec); in ReadDuration() 522 static size_t ReadPosition(SLPlayItf playItf) { in ReadPosition() argument 524 OpenSL(playItf, GetPosition, &positionInMsec); in ReadPosition() 653 callbackContext.playItf = decoderPlay; in PlayFromThisSource() 831 totalDurationMs_ = ReadDuration(pCntxt->playItf); in DecodingBufferQueueCallback()
|
D | variablespeed.h | 74 SLPlayItf playItf, SLPrefetchStatusItf prefetchItf);
|