/frameworks/base/include/media/stagefright/ |
AudioPlayer.h | 32 class AudioPlayer : public TimeSource { 39 AudioPlayer(const sp<MediaPlayerBase::AudioSink> &audioSink, 42 virtual ~AudioPlayer(); 58 // Returns true iff a mapping is established, i.e. the AudioPlayer 113 AudioPlayer(const AudioPlayer &); 114 AudioPlayer &operator=(const AudioPlayer &);
|
/system/media/wilhelm/src/objects/ |
CAudioPlayer.c | 17 /** \file CAudioPlayer.c AudioPlayer class */ 84 CAudioPlayer *audioPlayer = track->mAudioPlayer; 85 if (NULL == audioPlayer) { 88 assert(audioPlayer == thiz); 104 COutputMix *CAudioPlayer_GetOutputMix(CAudioPlayer *audioPlayer) 106 assert(NULL != audioPlayer); 107 assert(SL_DATALOCATOR_OUTPUTMIX == audioPlayer->mDataSink.mLocator.mLocatorType); 108 SLObjectItf outputMix = audioPlayer->mDataSink.mLocator.mOutputMix.outputMix;
|
/system/media/wilhelm/src/itf/ |
IOutputMixExt.c | 50 CAudioPlayer *audioPlayer = track->mAudioPlayer; 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->mBufferQueue.mRear = &audioPlayer->mBufferQueue.mArray[0] [all...] |
IAndroidEffectSend.c | 34 // is SLAndroidEffectSendItf on an AudioPlayer? 38 SL_LOGE("invalid interface: not attached to an AudioPlayer"); 107 SL_LOGE("invalid interface: not attached to an AudioPlayer"); 132 SL_LOGE("invalid interface: not attached to an AudioPlayer"); 154 // is SLAndroidEffectSendItf on an AudioPlayer? 158 SL_LOGE("invalid interface: not attached to an AudioPlayer"); 167 SL_LOGE("trying to send to an effect not on this AudioPlayer's OutputMix"); 193 // is SLAndroidEffectSendItf on an AudioPlayer? 197 SL_LOGE("invalid interface: not attached to an AudioPlayer"); 204 SL_LOGE("trying to retrieve send level on an effect not on this AudioPlayer's [all...] |
IPlay.c | 35 CAudioPlayer *audioPlayer = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? 59 if ((NULL != audioPlayer) && (audioPlayer->mBufferQueue.mFront != 60 audioPlayer->mBufferQueue.mRear)) { 184 // will be set by containing AudioPlayer or MidiPlayer object at Realize, if known, 224 CAudioPlayer *audioPlayer = (CAudioPlayer *) thiz->mThis; 225 SLmillisecond pos = audioPlayer->mSeek.mPos; 395 CAudioPlayer *audioPlayer = (CAudioPlayer *) thiz->mThis; 397 (long long) audioPlayer->mSampleRateMilliHz) / 1000000LL;
|
IEffectSend.c | 42 CAudioPlayer *audioPlayer = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? 44 if (NULL == audioPlayer) { 48 COutputMix *outputMix = CAudioPlayer_GetOutputMix(audioPlayer);
|
IAndroidConfiguration.c | 46 SL_LOGV("SetConfiguration issued for AudioPlayer key=%s valueSize=%u",
|
IAndroidEffect.cpp | 40 // the interface itself is invalid because it is not attached to an AudioPlayer or
|
IBufferQueue.c | 90 CAudioPlayer *audioPlayer = (CAudioPlayer *) thiz->mThis; 92 result = android_audioPlayer_bufferQueue_onClear(audioPlayer);
|
/system/media/wilhelm/src/desktop/ |
SndFile.c | 135 /** \brief Check whether the partially-constructed AudioPlayer is compatible with libsndfile */ 188 void audioPlayerTransportUpdate(CAudioPlayer *audioPlayer) 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 [all...] |
/frameworks/base/media/libstagefright/ |
AudioPlayer.cpp | 18 #define LOG_TAG "AudioPlayer" 24 #include <media/stagefright/AudioPlayer.h> 34 AudioPlayer::AudioPlayer( 56 AudioPlayer::~AudioPlayer() { 62 void AudioPlayer::setSource(const sp<MediaSource> &source) { 67 status_t AudioPlayer::start(bool sourceAlreadyStarted) { 121 &AudioPlayer::AudioSinkCallback, this); 174 void AudioPlayer::pause(bool playPendingSamples) [all...] |
Android.mk | 13 AudioPlayer.cpp \
|
/cts/tests/tests/nativemedia/src/ |
SLObjectCreationTest.cpp | 23 * - AudioPlayer: 172 /* Test case for creating an AudioPlayer object */ 182 /* Test case for creating an AudioPlayer object that plays from a URI */ 188 // AudioPlayer creation 192 /* Test case for creating an AudioPlayer object that plays from a FD */ 198 // AudioPlayer creation 202 /* Test case for creating an AudioPlayer object that plays from a PCM BufferQueue */ 221 // AudioPlayer creation 225 /* Test case for creating an AudioPlayer object that plays from Transport Stream ABQ */ 238 // AudioPlayer creatio [all...] |
/frameworks/base/cmds/stagefright/ |
audioloop.cpp | 6 #include <media/stagefright/AudioPlayer.h> 73 AudioPlayer *player = new AudioPlayer(NULL);
|
record.cpp | 20 #include <media/stagefright/AudioPlayer.h> 310 AudioPlayer *player = new AudioPlayer(audioSink);
|
/system/media/wilhelm/src/android/ |
android_prompts.h | 24 // Android AudioPlayer errors 31 "Cannot realize AudioPlayer: with unknown data source locator" 33 "Cannot realize AudioPlayer: unexpected object type \%d" 35 "Cannot destroy AudioPlayer: unexpected object type \%d" 37 "Cannot set AudioPlayer playstate: unexpected object type \%d" 39 "Cannot set AudioPlayer playstate to %d: Android object in invalid state"
|
CallbackProtector.h | 35 * if the associated object (AudioTrack, AudioPlayer, MediaPlayer) is about to be destroyed. 63 /** Counts the number of callbacks actively locking the associated AudioPlayer */
|
/system/media/wilhelm/tests/mimeUri/ |
slesTestManyPlayers.cpp | 39 SLObjectItf audioPlayer[MAX_NUMBER_PLAYERS]; 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[playerId], SL_IID_PREFETCHSTATUS [all...] |
/system/media/wilhelm/src/ |
sync.c | 80 CAudioPlayer *audioPlayer = (CAudioPlayer *) instance; 81 audioPlayerTransportUpdate(audioPlayer);
|
/frameworks/ex/variablespeed/jni/ |
variablespeed.cc | 212 static void setAudioStreamType(SLObjectItf audioPlayer, SLint32 audioStreamType) { 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; 689 GetSLChannels(), audioStreamType_, outputMix, audioPlayer, 691 OpenSL(audioPlayer, GetInterface, SL_IID_PLAY, &audioPlayerPlay); 692 OpenSL(audioPlayer, GetInterface, SL_IID_ANDROIDSIMPLEBUFFERQUEUE [all...] |
/system/media/wilhelm/tools/mphtogen/ |
mphtogen.c | 55 _(AudioPlayer)
|
/frameworks/base/media/libstagefright/include/ |
AwesomePlayer.h | 33 struct AudioPlayer; 179 AudioPlayer *mAudioPlayer;
|
/development/ndk/platforms/android-9/include/SLES/ |
OpenSLES_AndroidConfiguration.h | 43 /* Android AudioPlayer configuration */
|
/frameworks/media/libvideoeditor/lvpp/ |
PreviewPlayer.h | 81 status_t setAudioPlayer(AudioPlayerBase *audioPlayer);
|
VideoEditorPlayer.h | 149 status_t setAudioPlayer(VideoEditorAudioPlayer *audioPlayer);
|