/system/media/wilhelm/tests/examples/ |
H A D | slesTestBassBoostPath.cpp | 55 /* Objects this application uses: one player and an ouput mix */ 56 SLObjectItf player, outputMix; local 67 /* Data sinks for the audio player */ 71 /* Interfaces for the audio player */ 92 /* Create Output Mix object to be used by the player */ 107 /* Configuration of the player */ 144 /* Create the audio player */ 145 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, 149 /* Realize the player in synchronous mode. */ 150 result = (*player) [all...] |
H A D | slesTestPlayFdPath.cpp | 55 /* Objects this application uses: one player and an ouput mix */ 56 SLObjectItf player, outputMix; local 63 /* Data sinks for the audio player */ 67 /* Play and PrefetchStatus interfaces for the audio player */ 87 /* Create Output Mix object to be used by the player */ 102 /* Configuration of the player */ 129 /* Create the audio player */ 130 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 1, 134 /* Realize the player in synchronous mode. */ 135 result = (*player) [all...] |
H A D | slesTestSawtoothBufferQueue.cpp | 121 SLObjectItf player; local 151 // Create Output Mix object to be used by player 202 /* Create the music player */ 203 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, 207 /* Realizing the player in synchronous mode. */ 208 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 212 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 216 res = (*player) [all...] |
H A D | slesTestVirtualizerPath.cpp | 56 /* Objects this application uses: one player and an ouput mix */ 57 SLObjectItf player, outputMix; local 68 /* Data sinks for the audio player */ 72 /* Play and PrefetchStatus interfaces for the audio player */ 93 /* Create Output Mix object to be used by the player */ 108 /* Configuration of the player */ 145 /* Create the audio player */ 146 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, 150 /* Realize the player in synchronous mode. */ 151 result = (*player) [all...] |
H A D | slesTestEqFdPath.cpp | 60 /* Objects this application uses: one player and an ouput mix */ 61 SLObjectItf player, outputMix; local 72 /* Data sinks for the audio player */ 76 /* Play and PrefetchStatus interfaces for the audio player */ 97 /* Create Output Mix object to be used by the player */ 112 /* Configuration of the player */ 149 /* Create the audio player */ 150 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, 154 /* Realize the player in synchronous mode. */ 155 result = (*player) [all...] |
H A D | slesTestEqOutputPath.cpp | 60 /* Objects this application uses: one player and an ouput mix */ 61 SLObjectItf player, outputMix; local 72 /* Data sinks for the audio player */ 76 /* Play and PrefetchStatus interfaces for the audio player */ 103 /* Create Output Mix object to be used by the player */ 121 /* Configuration of the player */ 156 /* Create the audio player */ 157 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 1, 161 /* Realize the player in synchronous mode. */ 162 result = (*player) [all...] |
H A D | slesTestSendToPresetReverb.cpp | 79 /* Objects this application uses: one player and an ouput mix */ 80 SLObjectItf player, outputMix; local 90 /* Data sinks for the audio player */ 94 /* Interfaces for the audio player */ 123 /* Create Output Mix object to be used by the player */ 160 /* Configuration of the player */ 200 /* Create the audio player */ 201 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 3, 205 /* Realize the player in synchronous mode. */ 206 result = (*player) [all...] |
H A D | slesTestDecodeToBuffQueue.cpp | 279 /* Objects this application uses: one audio player */ 280 SLObjectItf player; local 282 /* Interfaces for the audio player */ 319 /* Configuration of the player */ 358 /* Create the audio player */ 359 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &decSource, &decDest, 364 /* Realize the player in synchronous mode. */ 365 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); 370 result = (*player) [all...] |
H A D | slesTestDecodeAac.cpp | 401 /* Objects this application uses: one audio player */ 402 SLObjectItf player; local 404 /* Interfaces for the audio player */ 430 /* Configuration of the player */ 467 /* Create the audio player */ 468 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &decSource, &decDest, 478 /* Realize the player in synchronous mode. */ 479 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); 484 res = (*player) [all...] |
/system/media/wilhelm/tests/mimeUri/ |
H A D | slesTestPlayStreamType.cpp | 53 /* Objects this application uses: one player and an ouput mix */ 54 SLObjectItf player, outputMix; local 61 /* Data sinks for the audio player */ 65 /* Play, Volume and AndroidStreamType interfaces for the audio player */ 88 /* Create Output Mix object to be used by the player */ 103 /* Configuration of the player */ 127 /* Create the audio player */ 128 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 132 /* Retrieve the configuration interface before the player is realized so its resources 136 result = (*player) [all...] |
H A D | slesTestPlayUri2.cpp | 38 /* PlayItf callback for an audio player */ 69 SLObjectItf player, player2, outputMix; local 107 /* Create Output Mix object to be used each player */ 136 /* Create the first audio player */ 137 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, 141 /* Create the second audio player with a different path for its data source */ 149 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result); 150 result = (*player)->Realize(player2, SL_BOOLEAN_FALSE); ExitOnError(result); 153 /* Get the SLPlayItf, SLVolumeItf and SLPrefetchStatusItf interfaces for each player */ [all...] |
H A D | slesTest_playStates.cpp | 53 /* Objects this application uses: one player and an ouput mix */ 54 SLObjectItf player, outputMix; local 61 /* Data sinks for the audio player */ 65 /* Play, Volume and PrefetchStatus interfaces for the audio player */ 86 /* Create Output Mix object to be used by the player */ 101 /* Configuration of the player */ 122 /* Create the audio player */ 123 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 127 /* Realize the player in synchronous mode. */ 128 result = (*player) [all...] |
H A D | slesTestGetPositionUri.cpp | 65 /* PrefetchStatusItf callback for an audio player */ 143 SLObjectItf player; local 173 // Create Output Mix object to be used by player 197 /* Create the audio player */ 198 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 201 /* Realizing the player in synchronous mode. */ 202 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 206 res = (*player)->GetInterface(player, SL_IID_PLA [all...] |
H A D | slesTestLoopUri.cpp | 62 /* PrefetchStatusItf callback for an audio player */ 138 SLObjectItf player; local 160 // Create Output Mix object to be used by player 184 /* Create the audio player */ 189 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 192 /* Realizing the player in synchronous mode. */ 193 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 197 res = (*player)->GetInterface(player, SL_IID_PLA [all...] |
H A D | slesTestPlayUri.cpp | 71 /* PrefetchStatusItf callback for an audio player */ 141 SLObjectItf player; local 166 // Create Output Mix object to be used by player 190 /* Create the audio player */ 191 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 194 /* Realizing the player in synchronous mode. */ 195 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 199 res = (*player)->GetInterface(player, SL_IID_PLA [all...] |
H A D | slesTestSlowDownUri.cpp | 64 /* PlayItf callback for an audio player */ 107 /* PrefetchStatusItf callback for an audio player */ 194 SLObjectItf player; local 216 // Create Output Mix object to be used by player 240 /* Create the audio player */ 247 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 250 /* Realizing the player in synchronous mode. */ 251 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 255 res = (*player) [all...] |
/system/media/wilhelm/src/android/ |
H A D | android_GenericMediaPlayer.cpp | 27 // default delay in Us used when reposting an event when the player is not ready to accept 106 // only send video size updates if the player was flagged as having video, to avoid 195 sp<IMediaPlayer> player; local 196 getPreparedPlayer(player); 197 if (player != NULL) { 198 player->stop(); 201 //player->setDataSource(NULL); 202 player->setVideoSurfaceTexture(NULL); 203 player->disconnect(); 225 sp<IMediaPlayer> player; local [all...] |
H A D | android_StreamPlayer.cpp | 39 StreamPlayer * /* const sp<StreamPlayer> & */ player) : 43 mPlayer(player) 183 const sp<StreamPlayer> player(mPlayer.promote()); 184 if (player != NULL) { 186 player->seek(ANDROID_UNKNOWN_TIME); 262 const sp<StreamPlayer> player(mPlayer.promote()); 263 if (player != NULL) { 264 player->queueRefilled(); 367 * Asynchronously notify the player that the queue is ready to be pulled from. 370 // async notification that the ABQ was refilled: the player shoul 32 StreamSourceAppProxy( IAndroidBufferQueue *androidBufferQueue, const sp<CallbackProtector> &callbackProtector, StreamPlayer * player) argument [all...] |
/system/media/wilhelm/tests/listening/ |
H A D | slesTest_playMuteSolo.cpp | 101 /* PlayItf callback for an audio player, will be called for every SL_PLAYEVENT_HEADATNEWPOS event */ 168 /* Objects this application uses: one player and an output mix */ 169 SLObjectItf player, outputMix; local 176 /* Data sinks for the audio player */ 180 /* Play, Volume and PrefetchStatus interfaces for the audio player */ 201 /* Create Output Mix object to be used by the player */ 216 /* Configuration of the player */ 237 /* Create the audio player */ 238 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, 242 /* Realize the player i [all...] |
/system/media/wilhelm/tests/ |
H A D | mimeUri_test.cpp | 73 /* PrefetchStatusItf callback for an audio player */ 115 SLObjectItf player; local 140 // Create Output Mix object to be used by player 164 /* Create the audio player */ 165 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, 168 /* Realizing the player in synchronous mode. */ 169 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 172 res = (*player)->GetInterface(player, SL_IID_PLA [all...] |
/system/media/wilhelm/tests/sandbox/ |
H A D | monkey.c | 17 // single-threaded, single-player monkey test 46 typedef State_t (*Action_pt)(Player_pt player); 116 // create audio player 129 // realize the player 248 Player_t player; local 249 player.mObject = NULL; 250 player.mPlay = NULL; 251 player.mSeek = NULL; 285 State_t nextState = (*transitionTable[i].mAction)(&player);
|
/system/media/wilhelm/tests/sandbox/streamSource/ |
H A D | slesTestPlayStream.cpp | 72 /* AndroidBufferQueueItf callback for an audio player */ 196 SLObjectItf player; local 225 // Create Output Mix object to be used by player 249 /* Create the audio player */ 250 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 253 /* Realizing the player in synchronous mode. */ 254 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 258 res = (*player)->GetInterface(player, SL_IID_PLA [all...] |