/frameworks/av/include/media/stagefright/ |
AudioPlayer.h | 32 class AudioPlayer : public TimeSource { 47 AudioPlayer(const sp<MediaPlayerBase::AudioSink> &audioSink, 51 virtual ~AudioPlayer(); 67 // Returns true iff a mapping is established, i.e. the AudioPlayer 137 AudioPlayer(const AudioPlayer &); 138 AudioPlayer &operator=(const AudioPlayer &);
|
/frameworks/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;
|
/frameworks/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;
|
/frameworks/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...] |
/external/chromium_org/remoting/client/ |
audio_player.h | 16 class AudioPlayer { 18 virtual ~AudioPlayer(); 23 AudioPlayer(); 60 DISALLOW_COPY_AND_ASSIGN(AudioPlayer);
|
audio_player.cc | 22 AudioPlayer::AudioPlayer() 29 AudioPlayer::~AudioPlayer() { 34 void AudioPlayer::ProcessAudioPacket(scoped_ptr<AudioPacket> packet) { 82 void AudioPlayer::AudioPlayerCallback(void* samples, 85 AudioPlayer* audio_player = static_cast<AudioPlayer*>(data); 89 void AudioPlayer::ResetQueue() { 96 void AudioPlayer::FillWithSamples(void* samples, uint32 buffer_size) [all...] |
audio_decode_scheduler.h | 24 class AudioPlayer; 31 scoped_ptr<AudioPlayer> audio_player);
|
audio_decode_scheduler.cc | 20 scoped_ptr<AudioPlayer> audio_player); 44 scoped_ptr<AudioPlayer> audio_player_; 52 scoped_ptr<AudioPlayer> audio_player) 105 scoped_ptr<AudioPlayer> audio_player)
|
chromoting_client.h | 34 class AudioPlayer; 51 scoped_ptr<AudioPlayer> audio_player);
|
audio_player_unittest.cc | 27 class FakeAudioPlayer : public AudioPlayer { 54 AudioPlayer::AudioPlayerCallback(reinterpret_cast<void*>(buffer_.get()), 88 scoped_ptr<AudioPlayer> audio_;
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/media/ |
audio_player.js | 13 function AudioPlayer(container) { 50 AudioPlayer.TrackInfo.DEFAULT_ARTIST = 67 AudioPlayer.load = function() { 75 AudioPlayer.instance = 76 new AudioPlayer(document.querySelector('.audio-player')); 80 util.addPageLoadHandler(AudioPlayer.load); 86 if (AudioPlayer.instance) 87 AudioPlayer.instance.onUnload(); 96 AudioPlayer.instance.load(window.appState); 105 AudioPlayer.prototype.load = function(playlist) [all...] |
player_testapi.js | 137 AudioPlayer.instance.load({ 147 playerTestAPI.respond_(AudioPlayer.instance.currentTrack_); 172 return window.controls || window.AudioPlayer.instance.audioControls_;
|
/frameworks/av/media/libstagefright/ |
AudioPlayer.cpp | 18 #define LOG_TAG "AudioPlayer" 26 #include <media/stagefright/AudioPlayer.h> 37 AudioPlayer::AudioPlayer( 65 AudioPlayer::~AudioPlayer() { 71 void AudioPlayer::setSource(const sp<MediaSource> &source) { 76 status_t AudioPlayer::start(bool sourceAlreadyStarted) { 177 &AudioPlayer::AudioSinkCallback, 254 void AudioPlayer::pause(bool playPendingSamples) [all...] |
Android.mk | 12 AudioPlayer.cpp \
|
/cts/tests/tests/nativemedia/sl/src/ |
SLObjectCreationTest.cpp | 23 * - AudioPlayer: 176 /* Test case for creating an AudioPlayer object */ 186 /* Test case for creating an AudioPlayer object that plays from a URI */ 192 // AudioPlayer creation 196 /* Test case for creating an AudioPlayer object that plays from a FD */ 202 // AudioPlayer creation 206 /* Test case for creating an AudioPlayer object that plays from a PCM BufferQueue */ 225 // AudioPlayer creation 229 /* Test case for creating an AudioPlayer object that plays from Transport Stream ABQ */ 242 // AudioPlayer creatio [all...] |
/frameworks/av/cmds/stagefright/ |
audioloop.cpp | 7 #include <media/stagefright/AudioPlayer.h> 71 AudioPlayer *player = new AudioPlayer(NULL);
|
/external/chromium_org/remoting/client/plugin/ |
pepper_audio_player.h | 16 class PepperAudioPlayer : public AudioPlayer {
|
/frameworks/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 */
|
/frameworks/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...] |
/frameworks/wilhelm/src/ |
sync.c | 80 CAudioPlayer *audioPlayer = (CAudioPlayer *) instance; 81 audioPlayerTransportUpdate(audioPlayer);
|
/frameworks/ex/variablespeed/jni/ |
variablespeed.cc | 219 static void setAudioStreamType(SLObjectItf audioPlayer, SLint32 audioStreamType) { 221 OpenSL(audioPlayer, GetInterface, SL_IID_ANDROIDCONFIGURATION, &playerConfig); 575 SLObjectItf &audioPlayer, SLEngineItf &engineInterface) { 593 OpenSL(engineInterface, CreateAudioPlayer, &audioPlayer, &playingSrc, 595 setAudioStreamType(audioPlayer, audioStreamType); 596 OpenSL(audioPlayer, Realize, SL_BOOLEAN_FALSE); 680 SLObjectItf audioPlayer = NULL; 696 GetSLChannels(), audioStreamType_, outputMix, audioPlayer, 698 OpenSL(audioPlayer, GetInterface, SL_IID_PLAY, &audioPlayerPlay); 699 OpenSL(audioPlayer, GetInterface, SL_IID_ANDROIDSIMPLEBUFFERQUEUE [all...] |
/frameworks/wilhelm/tools/mphtogen/ |
mphtogen.c | 55 _(AudioPlayer)
|