/system/media/opensles/tests/mimeUri/ |
slesTest_playStates.cpp | 66 SLPlayItf playItf; 132 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 148 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 162 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); 168 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 174 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ) [all...] |
slesTestSlowDownUri.cpp | 45 /* PlayItf callback for an audio player */ 125 SLPlayItf playItf; 185 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); CheckErr(res); 203 res = (*playItf)->GetDuration(playItf, &durationInMsec); CheckErr(res); 215 res = (*playItf)->RegisterCallback(playItf, PlayEventCallback, &rateItf); CheckErr(res); 216 res = (*playItf)->SetCallbackEventsMask(playItf, 218 res = (*playItf)->SetMarkerPosition(playItf, 1500); CheckErr(res) [all...] |
slesTestPlayUri2.cpp | 38 /* PlayItf callback for an audio player */ 81 SLPlayItf playItf, playItf2; 154 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 170 result = (*playItf)->RegisterCallback(playItf, PlayEventCallback, &playItf); 172 result = (*playItf)->SetCallbackEventsMask(playItf, 191 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ) [all...] |
slesTestLoopUri.cpp | 86 SLPlayItf playItf; 144 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 163 res = (*playItf)->GetDuration(playItf, &durationInMsec); 178 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 197 res = (*playItf)->GetDuration(playItf, &durationInMsec); 206 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ) [all...] |
slesTestPlayUri.cpp | 112 SLPlayItf playItf; 169 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 188 res = (*playItf)->GetDuration(playItf, &durationInMsec); 204 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 225 res = (*playItf)->GetDuration(playItf, &durationInMsec); 234 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ) [all...] |
slesTestPlayStreamType.cpp | 67 SLPlayItf playItf; 151 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 163 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 176 result = (*playItf)->GetDuration(playItf, &durationInMsec); 183 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); 211 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED) [all...] |
/system/media/opensles/tests/listening/ |
slesTest_playMuteSolo.cpp | 33 SLPlayItf playItf; 50 /* PlayItf callback for an audio player, will be called for every SL_PLAYEVENT_HEADATNEWPOS event */ 54 SLPlayItf playItf = context->playItf; 60 res = (*playItf)->GetPosition(playItf, &position); ExitOnError(res); 130 SLPlayItf playItf; 196 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 214 context.playItf = playItf; [all...] |
/system/media/opensles/tests/examples/ |
slesTestPlayFdPath.cpp | 68 SLPlayItf playItf; 139 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 151 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 164 result = (*playItf)->GetDuration(playItf, &durationInMsec); 171 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); 178 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED) [all...] |
slesTestBassBoostPath.cpp | 72 SLPlayItf playItf; 154 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 169 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 182 result = (*playItf)->GetDuration(playItf, &durationInMsec); 190 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_PLAYING ); 231 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED) [all...] |
slesTestEqFdPath.cpp | 76 SLPlayItf playItf; 158 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 173 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 186 result = (*playItf)->GetDuration(playItf, &durationInMsec); 194 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_PLAYING ); 259 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED) [all...] |
slesTestEqOutputPath.cpp | 76 SLPlayItf playItf; 165 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 177 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 190 result = (*playItf)->GetDuration(playItf, &durationInMsec); 198 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_PLAYING ); 263 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED) [all...] |
slesTestVirtualizerPath.cpp | 72 SLPlayItf playItf; 154 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 169 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 182 result = (*playItf)->GetDuration(playItf, &durationInMsec); 190 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_PLAYING ); 232 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED) [all...] |
slesTestSendToPresetReverb.cpp | 73 SLPlayItf playItf; 183 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 196 result = (*playItf)->GetDuration(playItf, &durationInMsec); 216 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); 235 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED);
|
slesTestSawtoothBufferQueue.cpp | 73 SLPlayItf playItf; 122 SLPlayItf playItf; 198 (PlayItf is implicit) */ 212 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 246 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ); 264 res = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED);
|
slesTestRecBuffQueue.cpp | 80 SLPlayItf playItf;
|
/system/media/opensles/tests/ |
mimeUri_test.cpp | 116 SLPlayItf playItf; 172 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); 187 res = (*playItf)->GetDuration(playItf, &durationInMsec); 201 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED ); 222 res = (*playItf)->GetDuration(playItf, &durationInMsec); 229 res = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING ) [all...] |