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