Searched refs:audioPlayer (Results 1 - 14 of 14) sorted by path

/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.cpp387 status_t PreviewPlayer::setAudioPlayer(VideoEditorAudioPlayer *audioPlayer) { argument
391 mAudioPlayer = audioPlayer;
H A DPreviewPlayer.h91 status_t setAudioPlayer(VideoEditorAudioPlayer *audioPlayer);
H A DVideoEditorPlayer.cpp54 status_t VideoEditorPlayer::setAudioPlayer(VideoEditorAudioPlayer *audioPlayer) { argument
55 return mPlayer->setAudioPlayer(audioPlayer);
H A DVideoEditorPlayer.h150 status_t setAudioPlayer(VideoEditorAudioPlayer *audioPlayer);
/frameworks/ex/variablespeed/jni/
H A Dvariablespeed.cc212 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/wilhelm/src/desktop/
H A DSndFile.c188 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/src/itf/
H A DIBufferQueue.c90 CAudioPlayer *audioPlayer = (CAudioPlayer *) thiz->mThis; local
92 result = android_audioPlayer_bufferQueue_onClear(audioPlayer);
H A DIEffectSend.c42 CAudioPlayer *audioPlayer = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? local
44 if (NULL == audioPlayer) {
48 COutputMix *outputMix = CAudioPlayer_GetOutputMix(audioPlayer);
H A DIOutputMixExt.c50 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 DIPlay.c35 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;
/frameworks/wilhelm/src/objects/
H A DCAudioPlayer.c84 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/
H A Dsles_allinclusive.h400 extern void audioPlayerTransportUpdate(CAudioPlayer *audioPlayer);
413 extern COutputMix *CAudioPlayer_GetOutputMix(CAudioPlayer *audioPlayer);
H A Dsync.c80 CAudioPlayer *audioPlayer = (CAudioPlayer *) instance; local
81 audioPlayerTransportUpdate(audioPlayer);
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestManyPlayers.cpp39 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...]

Completed in 90 milliseconds