Searched refs:AudioFlinger (Results 1 - 14 of 14) sorted by relevance

/frameworks/av/services/audioflinger/
H A DRecordTracks.h19 #error This header file should only be included from AudioFlinger.h
51 friend class AudioFlinger; // for mState
H A DTracks.cpp19 #define LOG_TAG "AudioFlinger"
32 #include "AudioFlinger.h"
61 // TrackBase constructor must be called with AudioFlinger::mLock held
62 AudioFlinger::ThreadBase::TrackBase::TrackBase(
170 AudioFlinger::ThreadBase::TrackBase::~TrackBase()
186 // Client destructor must run with AudioFlinger mutex locked
189 // must run with AudioFlinger lock held. Thus the explicit clear() rather than
198 void AudioFlinger::ThreadBase::TrackBase::releaseBuffer(AudioBufferProvider::Buffer* buffer)
214 status_t AudioFlinger::ThreadBase::TrackBase::setSyncEvent(const sp<SyncEvent>& event)
224 AudioFlinger
[all...]
H A DAudioFlinger.cpp19 #define LOG_TAG "AudioFlinger"
45 #include "AudioFlinger.h"
83 static const char kDeadlockedString[] = "AudioFlinger may be deadlocked\n";
87 nsecs_t AudioFlinger::mStandbyTimeInNsecs = kDefaultStandbyTimeInNsecs;
89 uint32_t AudioFlinger::mScreenState;
92 bool AudioFlinger::mTeeSinkInputEnabled = false;
93 bool AudioFlinger::mTeeSinkOutputEnabled = false;
94 bool AudioFlinger::mTeeSinkTrackEnabled = false;
96 size_t AudioFlinger::mTeeSinkInputFrames = kTeeSinkInputFramesDefault;
97 size_t AudioFlinger
138 AudioFlinger::AudioFlinger() function in class:android::AudioFlinger
[all...]
H A DThreads.cpp19 #define LOG_TAG "AudioFlinger"
51 #include "AudioFlinger.h"
140 // FIXME It would be better for client to tell AudioFlinger the value of N,
141 // so AudioFlinger could allocate the right amount of memory.
267 AudioFlinger::ThreadBase::ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id,
283 AudioFlinger::ThreadBase::~ThreadBase()
300 void AudioFlinger::ThreadBase::exit()
324 status_t AudioFlinger::ThreadBase::setParameters(const String8& keyValuePairs)
344 void AudioFlinger
[all...]
H A DEffects.cpp19 #define LOG_TAG "AudioFlinger"
29 #include "AudioFlinger.h"
54 #define LOG_TAG "AudioFlinger::EffectModule"
56 AudioFlinger::EffectModule::EffectModule(ThreadBase *thread,
57 const wp<AudioFlinger::EffectChain>& chain,
94 AudioFlinger::EffectModule::~EffectModule()
104 status_t AudioFlinger::EffectModule::addHandle(EffectHandle *handle)
142 size_t AudioFlinger::EffectModule::removeHandle(EffectHandle *handle)
177 AudioFlinger::EffectHandle *AudioFlinger
[all...]
H A DThreads.h19 #error This header file should only be included from AudioFlinger.h
35 ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id,
128 // Called by AudioFlinger::frameCount(audio_io_handle_t output) and effects,
153 const sp<AudioFlinger::Client>& client,
192 sp<AudioFlinger::EffectModule> getEffect(int sessionId, int effectId);
193 sp<AudioFlinger::EffectModule> getEffect_l(int sessionId, int effectId);
261 friend class AudioFlinger; // for mEffectChains
268 const sp<AudioFlinger> mAudioFlinger;
354 PlaybackThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output,
417 const sp<AudioFlinger
[all...]
H A DEffects.h19 #error This header file should only be included from AudioFlinger.h
27 // AudioFlinger -> ThreadBase -> EffectChain -> EffectModule
29 // startOutput()...) should never be called with AudioFlinger or Threadbase mutex locked
31 // call AudioFlinger thus locking the same mutexes in the reverse order.
45 const wp<AudioFlinger::EffectChain>& chain,
126 friend class AudioFlinger; // for mHandles
163 // The EffectHandle is obtained by calling AudioFlinger::createEffect().
168 const sp<AudioFlinger::Client>& client,
214 friend class AudioFlinger; // for mEffect, mHasControl, mEnabled
322 friend class AudioFlinger; // fo
[all...]
H A DAudioFlinger.h73 // AudioFlinger has a hard-coded upper limit of 2 channels for capture and playback.
89 class AudioFlinger : class in namespace:android
90 public BinderService<AudioFlinger>,
93 friend class BinderService<AudioFlinger>; // for AudioFlinger()
289 AudioFlinger() ANDROID_API;
290 virtual ~AudioFlinger();
308 // AudioFlinger::setParameters() updates, other threads read w/o lock
322 Client(const sp<AudioFlinger>& audioFlinger, pid_t pid);
326 sp<AudioFlinger> audioFlinge
[all...]
H A DAndroid.mk17 AudioFlinger.cpp \
H A DTrackBase.h19 #error This header file should only be included from AudioFlinger.h
130 const size_t mFrameSize; // AudioFlinger's view of frame size in shared memory,
H A DPlaybackTracks.h19 #error This header file should only be included from AudioFlinger.h
123 // see comment at AudioFlinger::PlaybackThread::Track::~Track for why this can't be const
/frameworks/av/media/mediaserver/
H A Dmain_mediaserver.cpp32 #include "AudioFlinger.h"
127 AudioFlinger::instantiate();
/frameworks/av/include/media/
H A DIAudioFlinger.h45 DECLARE_META_INTERFACE(AudioFlinger);
59 /* create an audio track and registers it with AudioFlinger.
137 // For a given calling pid, AudioFlinger disregards any registrations after the first.
208 // Intended for AudioService to inform AudioFlinger of device's low RAM attribute,
/frameworks/av/media/libmedia/
H A DIAudioFlinger.cpp743 IMPLEMENT_META_INTERFACE(AudioFlinger, "android.media.IAudioFlinger");

Completed in 135 milliseconds