/frameworks/wilhelm/src/objects/ |
H A D | CAudioPlayer.c | 84 CAudioPlayer *audioPlayer = track->mAudioPlayer; local 85 if (NULL == audioPlayer) { 88 assert(audioPlayer == thiz); 104 COutputMix *CAudioPlayer_GetOutputMix(CAudioPlayer *audioPlayer) argument 106 assert(NULL != audioPlayer); 107 assert(SL_DATALOCATOR_OUTPUTMIX == audioPlayer->mDataSink.mLocator.mLocatorType); 108 SLObjectItf outputMix = audioPlayer->mDataSink.mLocator.mOutputMix.outputMix;
|
/frameworks/wilhelm/src/itf/ |
H A D | IOutputMixExt.c | 50 CAudioPlayer *audioPlayer = track->mAudioPlayer; local 51 if (NULL != audioPlayer) { 57 object_lock_exclusive(&audioPlayer->mObject); 58 assert(audioPlayer->mTrack == track); 63 audioPlayer->mPlay.mFramesSinceLastSeek += framesMixed; 64 audioPlayer->mPlay.mFramesSincePositionUpdate += framesMixed; 70 if (audioPlayer->mBufferQueue.mClearRequested) { 73 audioPlayer->mBufferQueue.mFront = &audioPlayer->mBufferQueue.mArray[0]; 74 audioPlayer 428 audioPlayerGainUpdate(CAudioPlayer *audioPlayer) argument [all...] |
H A D | IPlay.c | 35 CAudioPlayer *audioPlayer = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 59 if ((NULL != audioPlayer) && (audioPlayer->mBufferQueue.mFront != 60 audioPlayer->mBufferQueue.mRear)) { 224 CAudioPlayer *audioPlayer = (CAudioPlayer *) thiz->mThis; local 225 SLmillisecond pos = audioPlayer->mSeek.mPos; 395 CAudioPlayer *audioPlayer = (CAudioPlayer *) thiz->mThis; local 397 (long long) audioPlayer->mSampleRateMilliHz) / 1000000LL;
|
H A D | IBufferQueue.c | 90 CAudioPlayer *audioPlayer = (CAudioPlayer *) thiz->mThis; local 92 result = android_audioPlayer_bufferQueue_onClear(audioPlayer);
|
H A D | IEffectSend.c | 42 CAudioPlayer *audioPlayer = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local 44 if (NULL == audioPlayer) { 48 COutputMix *outputMix = CAudioPlayer_GetOutputMix(audioPlayer);
|
/frameworks/wilhelm/src/desktop/ |
H A D | SndFile.c | 188 void audioPlayerTransportUpdate(CAudioPlayer *audioPlayer) argument 191 if (NULL != audioPlayer->mSndFile.mSNDFILE) { 193 object_lock_exclusive(&audioPlayer->mObject); 194 SLboolean empty = 0 == audioPlayer->mBufferQueue.mState.count; 196 audioPlayer->mPrefetchStatus.mLevel = 1000; 197 SLmillisecond pos = audioPlayer->mSeek.mPos; 199 audioPlayer->mSeek.mPos = SL_TIME_UNKNOWN; 201 if (pos > audioPlayer->mPlay.mDuration) { 202 pos = audioPlayer->mPlay.mDuration; 204 audioPlayer [all...] |
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTestManyPlayers.cpp | 39 SLObjectItf audioPlayer[MAX_NUMBER_PLAYERS]; variable 213 res = (*engineItf)->CreateAudioPlayer(engineItf, &audioPlayer[playerId], 224 res = (*audioPlayer[playerId])->Realize(audioPlayer[playerId], SL_BOOLEAN_FALSE); 234 res = (*audioPlayer[playerId])->GetInterface(audioPlayer[playerId], SL_IID_PLAY, 238 res = (*audioPlayer[playerId])->GetInterface(audioPlayer[playerId], SL_IID_VOLUME, 242 res = (*audioPlayer[playerId])->GetInterface(audioPlayer[playerI [all...] |
/frameworks/wilhelm/src/ |
H A D | sync.c | 80 CAudioPlayer *audioPlayer = (CAudioPlayer *) instance; local 81 audioPlayerTransportUpdate(audioPlayer);
|
H A D | sles_allinclusive.h | 400 extern void audioPlayerTransportUpdate(CAudioPlayer *audioPlayer); 413 extern COutputMix *CAudioPlayer_GetOutputMix(CAudioPlayer *audioPlayer);
|
/frameworks/ex/variablespeed/jni/ |
H A D | variablespeed.cc | 212 static void setAudioStreamType(SLObjectItf audioPlayer, SLint32 audioStreamType) { argument 214 OpenSL(audioPlayer, GetInterface, SL_IID_ANDROIDCONFIGURATION, &playerConfig); 568 SLObjectItf &audioPlayer, SLEngineItf &engineInterface) { 586 OpenSL(engineInterface, CreateAudioPlayer, &audioPlayer, &playingSrc, 588 setAudioStreamType(audioPlayer, audioStreamType); 589 OpenSL(audioPlayer, Realize, SL_BOOLEAN_FALSE); 673 SLObjectItf audioPlayer = NULL; local 689 GetSLChannels(), audioStreamType_, outputMix, audioPlayer, local 691 OpenSL(audioPlayer, GetInterface, SL_IID_PLAY, &audioPlayerPlay); 692 OpenSL(audioPlayer, GetInterfac 566 CreateAndRealizeAudioPlayer(SLuint32 slSampleRate, size_t channelCount, SLuint32 slChannels, SLint32 audioStreamType, SLObjectItf &outputMix, SLObjectItf &audioPlayer, SLEngineItf &engineInterface) argument [all...] |
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.cpp | 54 status_t VideoEditorPlayer::setAudioPlayer(VideoEditorAudioPlayer *audioPlayer) { argument 55 return mPlayer->setAudioPlayer(audioPlayer);
|
H A D | PreviewPlayer.h | 91 status_t setAudioPlayer(VideoEditorAudioPlayer *audioPlayer);
|
H A D | VideoEditorPlayer.h | 150 status_t setAudioPlayer(VideoEditorAudioPlayer *audioPlayer);
|
H A D | PreviewPlayer.cpp | 387 status_t PreviewPlayer::setAudioPlayer(VideoEditorAudioPlayer *audioPlayer) { argument 391 mAudioPlayer = audioPlayer;
|