/frameworks/wilhelm/tests/listening/ |
D | seekTorture.c | 80 SLPlayItf playerPlay; in main() local 81 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in main() 87 result = (*playerPlay)->GetDuration(playerPlay, &duration); in main() 89 result = (*playerPlay)->SetPlayState(playerPlay, SL_PLAYSTATE_PAUSED); in main() 91 result = (*playerPlay)->GetDuration(playerPlay, &duration); in main() 93 result = (*playerPlay)->SetPlayState(playerPlay, SL_PLAYSTATE_PLAYING); in main() 130 result = (*playerPlay)->GetPosition(playerPlay, &nowPos); in main()
|
/frameworks/wilhelm/tests/sandbox/ |
D | xaplay.c | 164 XAPlayItf playerPlay = (XAPlayItf) pCallbackContext; in bufferQueueCallback() local 214 result = (*playerPlay)->GetPosition(playerPlay, &position); in bufferQueueCallback() 450 XAPlayItf playerPlay; in main() local 451 result = (*playerObject)->GetInterface(playerObject, XA_IID_PLAY, &playerPlay); in main() 464 bufferQueueCallback, (void *) playerPlay); in main() 472 result = (*playerPlay)->SetPlayState(playerPlay, XA_PLAYSTATE_PAUSED); in main() 545 result = (*playerPlay)->RegisterCallback(playerPlay, playEventCallback, NULL); in main() 547 result = (*playerPlay)->SetCallbackEventsMask(playerPlay, in main() 552 result = (*playerPlay)->SetMarkerPosition(playerPlay, 5000); in main() 556 result = (*playerPlay)->SetPositionUpdatePeriod(playerPlay, 2000); in main() [all …]
|
D | urimime.c | 105 SLPlayItf playerPlay; in main() local 106 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in main() 124 result = (*playerPlay)->GetDuration(playerPlay, &duration); in main() 132 result = (*playerPlay)->SetPlayState(playerPlay, SL_PLAYSTATE_PLAYING); in main() 138 result = (*playerPlay)->GetPlayState(playerPlay, &playState); in main() 147 result = (*playerPlay)->GetDuration(playerPlay, &duration); in main()
|
D | intbufq.c | 131 SLPlayItf playerPlay; in main() local 132 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in main() 145 result = (*playerPlay)->SetPlayState(playerPlay, state); in main() 250 result = (*playerPlay)->SetPlayState(playerPlay, state); in main() 253 result = (*playerPlay)->GetPlayState(playerPlay, &newstate); in main()
|
D | xa.c | 113 XAPlayItf playerPlay; in main() local 114 result = (*playerObject)->GetInterface(playerObject, XA_IID_PLAY, &playerPlay); in main() 116 printf("playerPlay = %p\n", playerPlay); in main() 120 result = (*playerPlay)->SetPlayState(playerPlay, XA_PLAYSTATE_PLAYING); in main()
|
D | multithread.c | 78 SLPlayItf playerPlay; in thread_start() local 79 result = (*myPlayerObject)->GetInterface(myPlayerObject, SL_IID_PLAY, &playerPlay); in thread_start() 81 result = (*playerPlay)->SetPlayState(playerPlay, SL_PLAYSTATE_PAUSED); in thread_start()
|
D | reverb.c | 589 SLPlayItf playerPlay; in main() local 590 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in main() 608 result = (*playerPlay)->SetPlayState(playerPlay, SL_PLAYSTATE_PAUSED); in main() 624 result = (*playerPlay)->GetDuration(playerPlay, &duration); in main() 643 result = (*playerPlay)->SetPlayState(playerPlay, SL_PLAYSTATE_PLAYING); in main() 649 result = (*playerPlay)->GetPlayState(playerPlay, &state); in main()
|
D | configbq.c | 190 SLPlayItf playerPlay; in main() local 191 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in main() 195 result = (*playerPlay)->SetPlayState(playerPlay, SL_PLAYSTATE_PLAYING); in main()
|
D | playbq.cpp | 487 SLPlayItf playerPlay; in main() local 488 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in main() 554 result = (*playerPlay)->SetPlayState(playerPlay, SL_PLAYSTATE_PLAYING); in main() 611 result = (*playerPlay)->SetPlayState(playerPlay, SL_PLAYSTATE_STOPPED); in main()
|
/frameworks/base/media/tests/NativeMidiDemo/jni/ |
D | nativemidi-jni.cpp | 59 static SLPlayItf playerPlay; variable 166 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in Java_com_example_android_nativemididemo_NativeMidi_initAudio() 179 result = (*playerPlay)->SetPlayState(playerPlay, SL_PLAYSTATE_PLAYING); in Java_com_example_android_nativemididemo_NativeMidi_initAudio() 194 if (playerPlay != NULL) { in Java_com_example_android_nativemididemo_NativeMidi_pauseAudio() 195 (*playerPlay)->SetPlayState(playerPlay, SL_PLAYSTATE_PAUSED); in Java_com_example_android_nativemididemo_NativeMidi_pauseAudio() 201 if (playerBufferQueue != NULL && playerPlay != NULL) { in Java_com_example_android_nativemididemo_NativeMidi_resumeAudio() 203 (*playerPlay)->SetPlayState(playerPlay, SL_PLAYSTATE_PLAYING); in Java_com_example_android_nativemididemo_NativeMidi_resumeAudio() 212 playerPlay = NULL; in Java_com_example_android_nativemididemo_NativeMidi_shutdownAudio()
|
/frameworks/wilhelm/tests/automated/ |
D | BufferQueue_test.cpp | 85 SLPlayItf playerPlay; member in TestBufferQueue 195 res = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in PrepareValidBuffer() 198 res = (*playerPlay)->GetPlayState(playerPlay, &playerState); in PrepareValidBuffer() 239 res = (*playerPlay)->SetPlayState(playerPlay, state); in SetPlayerState() 246 res = (*playerPlay)->GetPlayState(playerPlay, &playerState); in GetPlayerState() 276 res = (*playerPlay)->SetPlayState(playerPlay, SL_PLAYSTATE_PLAYING); in PlayBufferQueue() 279 res = (*playerPlay)->GetPlayState(playerPlay, &playerState); in PlayBufferQueue() 292 res = (*playerPlay)->GetPlayState(playerPlay, &playerState); in PlayBufferQueue()
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestFeedback.cpp | 450 SLPlayItf playerPlay; in main() local 451 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in main() 481 result = (*playerPlay)->SetPlayState(playerPlay, SL_PLAYSTATE_PLAYING); in main()
|