/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 | 65 SLPlayItf playItf; in TestPlayUri() local 131 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestPlayUri() 147 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestPlayUri() 161 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestPlayUri() 167 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestPlayUri() 173 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestPlayUri() 179 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); in TestPlayUri() 184 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestPlayUri() 190 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); in TestPlayUri()
|
D | slesTestPlayUri.cpp | 139 SLPlayItf playItf; in TestPlayUri() local 196 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestPlayUri() 214 res = (*playItf)->SetMarkerPosition(playItf, 2000); in TestPlayUri() 216 res = (*playItf)->SetPositionUpdatePeriod(playItf, 500); in TestPlayUri() 218 res = (*playItf)->SetCallbackEventsMask(playItf, in TestPlayUri() 221 res = (*playItf)->RegisterCallback(playItf, PlayEventCallback, NULL); in TestPlayUri() 226 res = (*playItf)->GetDuration(playItf, &durationInMsec); in TestPlayUri() 242 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestPlayUri() 264 res = (*playItf)->GetDuration(playItf, &durationInMsec); in TestPlayUri() 273 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestPlayUri() [all …]
|
D | slesTestGetPositionUri.cpp | 141 SLPlayItf playItf; in TestGetPositionUri() local 203 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestGetPositionUri() 221 res = (*playItf)->SetMarkerPosition(playItf, 2000); in TestGetPositionUri() 223 res = (*playItf)->SetPositionUpdatePeriod(playItf, 500); in TestGetPositionUri() 225 res = (*playItf)->SetCallbackEventsMask(playItf, in TestGetPositionUri() 228 res = (*playItf)->RegisterCallback(playItf, PlayEventCallback, NULL); in TestGetPositionUri() 238 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); CheckErr(res); in TestGetPositionUri() 257 res = (*playItf)->GetDuration(playItf, &durationInMsec); CheckErr(res); in TestGetPositionUri() 266 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); CheckErr(res); in TestGetPositionUri() 272 res = (*playItf)->GetPosition(playItf, &posInMsec); CheckErr(res); in TestGetPositionUri() [all …]
|
D | slesTestSlowDownUri.cpp | 192 SLPlayItf playItf; in TestSlowDownUri() local 252 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); CheckErr(res); in TestSlowDownUri() 270 res = (*playItf)->GetDuration(playItf, &durationInMsec); CheckErr(res); in TestSlowDownUri() 282 res = (*playItf)->RegisterCallback(playItf, PlayEventCallback, (void *) rateItf); in TestSlowDownUri() 284 res = (*playItf)->SetCallbackEventsMask(playItf, in TestSlowDownUri() 286 res = (*playItf)->SetMarkerPosition(playItf, 1500); CheckErr(res); in TestSlowDownUri() 287 res = (*playItf)->SetPositionUpdatePeriod(playItf, 500); CheckErr(res); in TestSlowDownUri() 337 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); CheckErr(res); in TestSlowDownUri() 351 res = (*playItf)->GetDuration(playItf, &durationInMsec); CheckErr(res); in TestSlowDownUri() 360 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); CheckErr(res); in TestSlowDownUri() [all …]
|
D | slesTestLoopUri.cpp | 136 SLPlayItf playItf; in TestLoopUri() local 194 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestLoopUri() 212 res = (*playItf)->SetCallbackEventsMask(playItf, SL_PLAYEVENT_HEADATEND); in TestLoopUri() 214 res = (*playItf)->RegisterCallback(playItf, PlayEventCallback, NULL); in TestLoopUri() 219 res = (*playItf)->GetDuration(playItf, &durationInMsec); in TestLoopUri() 234 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestLoopUri() 249 res = (*playItf)->GetDuration(playItf, &durationInMsec); in TestLoopUri() 259 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestLoopUri() 273 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 | 195 SLPlayItf playItf; member 387 res = (*pCntxt->playItf)->GetPosition(pCntxt->playItf, &position); in DecPlayCallback() 390 res = (*pCntxt->playItf)->GetDuration(pCntxt->playItf, &duration); in DecPlayCallback() 464 SLPlayItf playItf; in TestDecToBuffQueue() local 548 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestDecToBuffQueue() 552 res = (*playItf)->SetMarkerPosition(playItf, 5000); in TestDecToBuffQueue() 556 res = (*playItf)->SetPositionUpdatePeriod(playItf, 3000); in TestDecToBuffQueue() 560 res = (*playItf)->SetCallbackEventsMask(playItf, in TestDecToBuffQueue() 563 res = (*playItf)->RegisterCallback(playItf, PlayCallback /*callback*/, NULL /*pContext*/); in TestDecToBuffQueue() 568 res = (*playItf)->GetPosition(playItf, &position); in TestDecToBuffQueue() [all …]
|
D | slesTestPlayFdPath.cpp | 89 SLPlayItf playItf; in TestPlayPathFromFD() local 160 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestPlayPathFromFD() 178 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestPlayPathFromFD() 195 result = (*playItf)->GetDuration(playItf, &durationInMsec); in TestPlayPathFromFD() 202 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestPlayPathFromFD() 209 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 | 94 SLPlayItf playItf; in TestSendToPresetReverb() local 209 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestSendToPresetReverb() 232 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestSendToPresetReverb() 249 result = (*playItf)->GetDuration(playItf, &durationInMsec); in TestSendToPresetReverb() 278 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestSendToPresetReverb() 285 result = (*playItf)->GetPlayState(playItf, &playState); in TestSendToPresetReverb() 309 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 119 SLPlayItf playItf; in TestPlaySawtoothBufferQueue() local 209 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestPlaySawtoothBufferQueue() 243 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestPlaySawtoothBufferQueue() 261 res = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED); in TestPlaySawtoothBufferQueue()
|
D | slesTestRecBuffQueue.cpp | 84 SLPlayItf playItf; member
|
/frameworks/wilhelm/tests/ |
D | mimeUri_test.cpp | 113 SLPlayItf playItf; in TestPlayUri() local 169 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); in TestPlayUri() 184 res = (*playItf)->GetDuration(playItf, &durationInMsec); in TestPlayUri() 193 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); in TestPlayUri() 213 res = (*playItf)->GetDuration(playItf, &durationInMsec); in TestPlayUri() 227 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); in TestPlayUri() 235 res = (*playItf)->GetPosition(playItf, ¤tPositionInMsec); in TestPlayUri() 248 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()
|