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

/frameworks/av/services/audioflinger/
H A DTracks.cpp19 #define LOG_TAG "AudioFlinger"
30 #include "AudioFlinger.h"
65 // TrackBase constructor must be called with AudioFlinger::mLock held
66 AudioFlinger::ThreadBase::TrackBase::TrackBase(
223 status_t AudioFlinger::ThreadBase::TrackBase::initCheck() const
234 AudioFlinger::ThreadBase::TrackBase::~TrackBase()
249 // Client destructor must run with AudioFlinger client mutex locked
252 // must run with AudioFlinger lock held. Thus the explicit clear() rather than
263 void AudioFlinger::ThreadBase::TrackBase::releaseBuffer(AudioBufferProvider::Buffer* buffer)
279 status_t AudioFlinger
[all...]
H A DPatchPanel.h19 #error This header file should only be included from AudioFlinger.h
27 explicit PatchPanel(const sp<AudioFlinger>& audioFlinger);
88 const wp<AudioFlinger> mAudioFlinger;
H A DThreads.cpp19 #define LOG_TAG "AudioFlinger"
59 #include "AudioFlinger.h"
188 // AudioFlinger derives the default from HAL buffer size and 'fast track multiplier'.
437 const char *AudioFlinger::ThreadBase::threadTypeToString(AudioFlinger::ThreadBase::type_t type)
501 AudioFlinger::ThreadBase::ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id,
521 AudioFlinger::ThreadBase::~ThreadBase()
534 status_t AudioFlinger::ThreadBase::readyToRun()
538 ALOGI("AudioFlinger'
[all...]
H A DAudioFlinger.cpp19 #define LOG_TAG "AudioFlinger"
49 #include "AudioFlinger.h"
92 static const char kDeadlockedString[] = "AudioFlinger may be deadlocked\n";
98 nsecs_t AudioFlinger::mStandbyTimeInNsecs = kDefaultStandbyTimeInNsecs;
100 uint32_t AudioFlinger::mScreenState;
104 bool AudioFlinger::mTeeSinkInputEnabled = false;
105 bool AudioFlinger::mTeeSinkOutputEnabled = false;
106 bool AudioFlinger::mTeeSinkTrackEnabled = false;
108 size_t AudioFlinger::mTeeSinkInputFrames = kTeeSinkInputFramesDefault;
109 size_t AudioFlinger
146 AudioFlinger::AudioFlinger() function in class:android::AudioFlinger
[all...]
H A DEffects.cpp19 #define LOG_TAG "AudioFlinger"
30 #include "AudioFlinger.h"
57 #define LOG_TAG "AudioFlinger::EffectModule"
59 AudioFlinger::EffectModule::EffectModule(ThreadBase *thread,
60 const wp<AudioFlinger::EffectChain>& chain,
80 sp<AudioFlinger> audioFlinger = mAudioFlinger.promote();
107 AudioFlinger::EffectModule::~EffectModule()
117 status_t AudioFlinger::EffectModule::addHandle(EffectHandle *handle)
156 ssize_t AudioFlinger::EffectModule::removeHandle(EffectHandle *handle)
162 ssize_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
30 // startOutput(), getInputForAttr(), releaseInput()...) should never be called with AudioFlinger or
32 // methods that in turn call AudioFlinger thus locking the same mutexes in the reverse order.
46 const wp<AudioFlinger::EffectChain>& chain,
139 friend class AudioFlinger; // for mHandles
171 wp<AudioFlinger> mAudioFlinger;
179 // The EffectHandle is obtained by calling AudioFlinger::createEffect().
184 const sp<AudioFlinger::Client>& client,
236 friend class AudioFlinger; // fo
[all...]
H A DRecordTracks.h19 #error This header file should only be included from AudioFlinger.h
66 friend class AudioFlinger; // for mState
H A DThreads.h19 #error This header file should only be included from AudioFlinger.h
39 ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id,
251 // Called by AudioFlinger::frameCount(audio_io_handle_t output) and effects,
299 const sp<AudioFlinger::Client>& client,
338 sp<AudioFlinger::EffectModule> getEffect(audio_session_t sessionId, int effectId);
339 sp<AudioFlinger::EffectModule> getEffect_l(audio_session_t sessionId, int effectId);
437 friend class AudioFlinger; // for mEffectChains
444 const sp<AudioFlinger> mAudioFlinger;
632 PlaybackThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output,
704 const sp<AudioFlinger
[all...]
H A DMmapTracks.h19 #error This header file should only be included from AudioFlinger.h
H A DAndroid.mk24 AudioFlinger.cpp \
H A DAudioFlinger.h103 class AudioFlinger : class in namespace:android
104 public BinderService<AudioFlinger>,
107 friend class BinderService<AudioFlinger>; // for AudioFlinger()
356 AudioFlinger() ANDROID_API;
357 virtual ~AudioFlinger();
427 // AudioFlinger::setParameters() updates, other threads read w/o lock
441 Client(const sp<AudioFlinger>& audioFlinger, pid_t pid);
445 sp<AudioFlinger> audioFlinger() const { return mAudioFlinger; }
450 const sp<AudioFlinger> mAudioFlinge
[all...]
H A DTrackBase.h19 #error This header file should only be included from AudioFlinger.h
155 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
144 // see comment at AudioFlinger::PlaybackThread::Track::~Track for why this can't be const
/frameworks/av/media/audioserver/
H A Dmain_audioserver.cpp35 #include "AudioFlinger.h"
133 AudioFlinger::instantiate();
/frameworks/av/include/media/
H A DIAudioFlinger.h44 DECLARE_META_INTERFACE(AudioFlinger);
50 /* create an audio track and registers it with AudioFlinger.
61 // On successful return, AudioFlinger takes over the handle
73 // On successful return, AudioFlinger takes over the handle
141 // For a given calling pid, AudioFlinger disregards any registrations after the first.
197 // AudioFlinger doesn't take over handle reference from client
217 // Intended for AudioService to inform AudioFlinger of device's low RAM attribute,
/frameworks/av/media/libaudioclient/include/media/
H A DIAudioFlinger.h44 DECLARE_META_INTERFACE(AudioFlinger);
50 /* create an audio track and registers it with AudioFlinger.
61 // On successful return, AudioFlinger takes over the handle
73 // On successful return, AudioFlinger takes over the handle
141 // For a given calling pid, AudioFlinger disregards any registrations after the first.
197 // AudioFlinger doesn't take over handle reference from client
217 // Intended for AudioService to inform AudioFlinger of device's low RAM attribute,
/frameworks/av/media/libaudioclient/
H A DIAudioFlinger.cpp940 IMPLEMENT_META_INTERFACE(AudioFlinger, "android.media.IAudioFlinger");

Completed in 5598 milliseconds