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

/frameworks/av/services/audioflinger/
H A DTracks.cpp19 #define LOG_TAG "AudioFlinger"
34 #include "AudioFlinger.h"
64 // TrackBase constructor must be called with AudioFlinger::mLock held
65 AudioFlinger::ThreadBase::TrackBase::TrackBase(
207 status_t AudioFlinger::ThreadBase::TrackBase::initCheck() const
218 AudioFlinger::ThreadBase::TrackBase::~TrackBase()
234 // Client destructor must run with AudioFlinger client mutex locked
237 // must run with AudioFlinger lock held. Thus the explicit clear() rather than
248 void AudioFlinger::ThreadBase::TrackBase::releaseBuffer(AudioBufferProvider::Buffer* buffer)
264 status_t AudioFlinger
[all...]
H A DAudioFlinger.cpp19 #define LOG_TAG "AudioFlinger"
45 #include "AudioFlinger.h"
85 static const char kDeadlockedString[] = "AudioFlinger may be deadlocked\n";
90 nsecs_t AudioFlinger::mStandbyTimeInNsecs = kDefaultStandbyTimeInNsecs;
92 uint32_t AudioFlinger::mScreenState;
95 bool AudioFlinger::mTeeSinkInputEnabled = false;
96 bool AudioFlinger::mTeeSinkOutputEnabled = false;
97 bool AudioFlinger::mTeeSinkTrackEnabled = false;
99 size_t AudioFlinger::mTeeSinkInputFrames = kTeeSinkInputFramesDefault;
100 size_t AudioFlinger
171 AudioFlinger::AudioFlinger() function in class:android::AudioFlinger
[all...]
H A DPatchPanel.h19 #error This header file should only be included from AudioFlinger.h
27 PatchPanel(const sp<AudioFlinger>& audioFlinger);
76 const wp<AudioFlinger> mAudioFlinger;
H A DEffects.cpp19 #define LOG_TAG "AudioFlinger"
29 #include "AudioFlinger.h"
56 #define LOG_TAG "AudioFlinger::EffectModule"
58 AudioFlinger::EffectModule::EffectModule(ThreadBase *thread,
59 const wp<AudioFlinger::EffectChain>& chain,
97 AudioFlinger::EffectModule::~EffectModule()
107 status_t AudioFlinger::EffectModule::addHandle(EffectHandle *handle)
146 size_t AudioFlinger::EffectModule::removeHandle(EffectHandle *handle)
181 AudioFlinger::EffectHandle *AudioFlinger
[all...]
H A DThreads.cpp19 #define LOG_TAG "AudioFlinger"
57 #include "AudioFlinger.h"
173 // FIXME It would be better for client to tell AudioFlinger the value of N,
174 // so AudioFlinger could allocate the right amount of memory.
336 const char *AudioFlinger::ThreadBase::threadTypeToString(AudioFlinger::ThreadBase::type_t type)
530 AudioFlinger::ThreadBase::ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id,
549 AudioFlinger::ThreadBase::~ThreadBase()
562 status_t AudioFlinger
[all...]
H A DPatchPanel.cpp19 #define LOG_TAG "AudioFlinger::PatchPanel"
26 #include "AudioFlinger.h"
48 status_t AudioFlinger::listAudioPorts(unsigned int *num_ports,
59 status_t AudioFlinger::getAudioPort(struct audio_port *port)
70 status_t AudioFlinger::createAudioPatch(const struct audio_patch *patch,
81 status_t AudioFlinger::releaseAudioPatch(audio_patch_handle_t handle)
92 status_t AudioFlinger::listAudioPatches(unsigned int *num_patches,
103 status_t AudioFlinger::setAudioPortConfig(const struct audio_port_config *config)
113 AudioFlinger::PatchPanel::PatchPanel(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,
127 friend class AudioFlinger; // for mHandles
157 wp<AudioFlinger> mAudioFlinger;
165 // The EffectHandle is obtained by calling AudioFlinger::createEffect().
170 const sp<AudioFlinger::Client>& client,
217 friend class AudioFlinger; // fo
[all...]
H A DThreads.h19 #error This header file should only be included from AudioFlinger.h
37 ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id,
247 // Called by AudioFlinger::frameCount(audio_io_handle_t output) and effects,
288 const sp<AudioFlinger::Client>& client,
324 sp<AudioFlinger::EffectModule> getEffect(int sessionId, int effectId);
325 sp<AudioFlinger::EffectModule> getEffect_l(int sessionId, int effectId);
404 friend class AudioFlinger; // for mEffectChains
411 const sp<AudioFlinger> mAudioFlinger;
484 PlaybackThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output,
546 const sp<AudioFlinger
[all...]
H A DRecordTracks.h19 #error This header file should only be included from AudioFlinger.h
58 friend class AudioFlinger; // for mState
H A DAudioFlinger.h93 class AudioFlinger : class in namespace:android
94 public BinderService<AudioFlinger>,
97 friend class BinderService<AudioFlinger>; // for AudioFlinger()
328 AudioFlinger() ANDROID_API;
329 virtual ~AudioFlinger();
399 // AudioFlinger::setParameters() updates, other threads read w/o lock
413 Client(const sp<AudioFlinger>& audioFlinger, pid_t pid);
417 sp<AudioFlinger> audioFlinger() const { return mAudioFlinger; }
425 const sp<AudioFlinger> mAudioFlinge
[all...]
H A DAndroid.mk33 AudioFlinger.cpp \
H A DTrackBase.h19 #error This header file should only be included from AudioFlinger.h
152 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
125 // 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"
132 AudioFlinger::instantiate();
/frameworks/av/include/media/
H A DIAudioFlinger.h45 DECLARE_META_INTERFACE(AudioFlinger);
60 /* create an audio track and registers it with AudioFlinger.
71 // On successful return, AudioFlinger takes over the handle
81 // On successful return, AudioFlinger takes over the handle
144 // For a given calling pid, AudioFlinger disregards any registrations after the first.
200 // AudioFlinger doesn't take over handle reference from client
219 // Intended for AudioService to inform AudioFlinger of device's low RAM attribute,
/frameworks/av/media/libmedia/
H A DIAudioFlinger.cpp915 IMPLEMENT_META_INTERFACE(AudioFlinger, "android.media.IAudioFlinger");

Completed in 2424 milliseconds