/frameworks/wilhelm/tests/sandbox/ |
D | srcsink.c | 65 SLObjectItf playerObject; in main() local 66 result = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, &audioSrc, in main() 69 assert(NULL == playerObject); in main() 73 result = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, &audioSrc, in main() 76 assert(NULL == playerObject); in main() 85 result = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, &audioSrc, in main() 88 assert(NULL == playerObject); in main() 97 result = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, &audioSrc, in main() 100 assert(NULL != playerObject); in main() 104 (*playerObject)->Destroy(playerObject); in main() [all …]
|
D | urimime.c | 82 SLObjectItf playerObject; in main() local 83 result = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, &audioSrc, in main() 86 assert(NULL == playerObject); in main() 89 result = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, &audioSrc, in main() 92 assert(NULL == playerObject); in main() 96 result = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, &audioSrc, in main() 101 result = (*playerObject)->Realize(playerObject, SL_BOOLEAN_FALSE); in main() 106 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in main() 111 result = (*playerObject)->GetInterface(playerObject, SL_IID_BUFFERQUEUE, &playerBufferQueue); in main() 116 result = (*playerObject)->GetInterface(playerObject, SL_IID_ANDROIDSIMPLEBUFFERQUEUE, in main() [all …]
|
D | xa.c | 71 XAObjectItf playerObject; in main() local 106 result = (*engineEngine)->CreateMediaPlayer(engineEngine, &playerObject, &dataSrc, NULL, in main() 108 printf("result = %d, playerObject=%p\n", result, playerObject); in main() 109 result = (*playerObject)->Realize(playerObject, XA_BOOLEAN_FALSE); in main() 114 result = (*playerObject)->GetInterface(playerObject, XA_IID_PLAY, &playerPlay); in main() 125 (*playerObject)->Destroy(playerObject); in main()
|
D | configbq.c | 133 SLObjectItf playerObject; in main() local 134 result = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, &audioSrc, in main() 142 result = (*playerObject)->Realize(playerObject, SL_BOOLEAN_FALSE); in main() 183 result = (*playerObject)->GetInterface(playerObject, SL_IID_BUFFERQUEUE, in main() 191 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in main() 209 (*playerObject)->Destroy(playerObject); in main()
|
D | intbufq.c | 123 SLObjectItf playerObject; in main() local 126 result = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, &audiosrc, &audiosnk, in main() 129 result = (*playerObject)->Realize(playerObject, SL_BOOLEAN_FALSE); in main() 132 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in main() 135 result = (*playerObject)->GetInterface(playerObject, IID_BUFFERQUEUE, &playerBufferqueue); in main() 138 result = (*playerObject)->GetInterface(playerObject, SL_IID_MUTESOLO, &playerMuteSolo); in main() 277 (*playerObject)->Destroy(playerObject); in main()
|
D | reverb.c | 428 SLObjectItf playerObject; in main() local 429 result = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, &audioSrc, in main() 434 result = (*playerObject)->Realize(playerObject, SL_BOOLEAN_FALSE); in main() 440 result = (*playerObject)->GetInterface(playerObject, SL_IID_EFFECTSEND, &playerEffectSend); in main() 521 result = (*playerObject)->GetInterface(playerObject, SL_IID_PRESETREVERB, in main() 548 result = (*playerObject)->GetInterface(playerObject, SL_IID_ENVIRONMENTALREVERB, in main() 590 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in main() 595 result = (*playerObject)->GetInterface(playerObject, SL_IID_PREFETCHSTATUS, in main() 635 result = (*playerObject)->GetInterface(playerObject, SL_IID_SEEK, &playerSeek); in main() 659 (*playerObject)->Destroy(playerObject); in main()
|
D | playbq.cpp | 418 SLObjectItf playerObject; in main() local 419 result = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, &audioSrc, in main() 429 result = (*playerObject)->Realize(playerObject, SL_BOOLEAN_FALSE); in main() 435 result = (*playerObject)->GetInterface(playerObject, SL_IID_EFFECTSEND, &playerEffectSend); in main() 446 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAYBACKRATE, in main() 486 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in main() 491 result = (*playerObject)->GetInterface(playerObject, SL_IID_BUFFERQUEUE, in main() 611 (*playerObject)->Destroy(playerObject); in main()
|
D | playbq.c | 418 SLObjectItf playerObject; in main() local 419 result = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, &audioSrc, in main() 429 result = (*playerObject)->Realize(playerObject, SL_BOOLEAN_FALSE); in main() 435 result = (*playerObject)->GetInterface(playerObject, SL_IID_EFFECTSEND, &playerEffectSend); in main() 446 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAYBACKRATE, in main() 486 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in main() 491 result = (*playerObject)->GetInterface(playerObject, SL_IID_BUFFERQUEUE, in main() 611 (*playerObject)->Destroy(playerObject); in main()
|
D | xaplay.c | 436 XAObjectItf playerObject; in main() local 440 result = (*engineEngine)->CreateMediaPlayer(engineEngine, &playerObject, &dataSrc, NULL, in main() 446 result = (*playerObject)->Realize(playerObject, XA_BOOLEAN_FALSE); in main() 451 result = (*playerObject)->GetInterface(playerObject, XA_IID_PLAY, &playerPlay); in main() 458 result = (*playerObject)->GetInterface(playerObject, XA_IID_ANDROIDBUFFERQUEUESOURCE, in main() 497 result = (*playerObject)->GetInterface(playerObject, XA_IID_STREAMINFORMATION, in main() 508 result = (*playerObject)->GetInterface(playerObject, XA_IID_PREFETCHSTATUS, in main() 523 result = (*playerObject)->GetInterface(playerObject, XA_IID_SEEK, &playerSeek); in main() 843 (*playerObject)->Destroy(playerObject); in main()
|
D | multiplay.c | 278 SLObjectItf playerObject = players[i].mPlayerObject; in main() local 279 (*playerObject)->Destroy(playerObject); in main()
|
/frameworks/wilhelm/tests/automated/ |
D | BufferQueue_test.cpp | 86 SLObjectItf playerObject; member in TestBufferQueue 161 if (playerObject){ in DestroyPlayer() 163 (*playerObject)->Destroy(playerObject); in DestroyPlayer() 164 playerObject = NULL; in DestroyPlayer() 176 SLresult result = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, in InvalidBuffer() 179 ASSERT_EQ(NULL, playerObject); in InvalidBuffer() 189 res = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, &audiosrc, &audiosnk, in PrepareValidBuffer() 192 res = (*playerObject)->Realize(playerObject, SL_BOOLEAN_FALSE); in PrepareValidBuffer() 195 res = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in PrepareValidBuffer() 203 res = (*playerObject)->GetInterface(playerObject, SL_IID_BUFFERQUEUE, &playerBufferQueue); in PrepareValidBuffer() [all …]
|
/frameworks/wilhelm/tests/listening/ |
D | seekTorture.c | 72 SLObjectItf playerObject; in main() local 75 result = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, &audiosrc, &audiosnk, in main() 78 result = (*playerObject)->Realize(playerObject, SL_BOOLEAN_FALSE); in main() 81 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in main() 84 result = (*playerObject)->GetInterface(playerObject, SL_IID_SEEK, &playerSeek); in main()
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestFeedback.cpp | 429 SLObjectItf playerObject = NULL; in main() local 433 result = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, &audiosrc, &audiosnk, in main() 440 result = (*playerObject)->Realize(playerObject, SL_BOOLEAN_FALSE); in main() 443 result = (*playerObject)->GetInterface(playerObject, SL_IID_PLAY, &playerPlay); in main() 445 result = (*playerObject)->GetInterface(playerObject, SL_IID_BUFFERQUEUE, &playerBufferQueue); in main() 591 if (NULL != playerObject) { in main() 592 (*playerObject)->Destroy(playerObject); in main()
|