/frameworks/av/services/audioflinger/ |
Tracks.cpp | 19 #define LOG_TAG "AudioFlinger" 30 #include "AudioFlinger.h" 61 // TrackBase constructor must be called with AudioFlinger::mLock held 62 AudioFlinger::ThreadBase::TrackBase::TrackBase( 231 status_t AudioFlinger::ThreadBase::TrackBase::initCheck() const 242 AudioFlinger::ThreadBase::TrackBase::~TrackBase() 257 // Client destructor must run with AudioFlinger client mutex locked 258 Mutex::Autolock _l(mClient->audioFlinger()->mClientLock); 260 // must run with AudioFlinger lock held. Thus the explicit clear() rather than 271 void AudioFlinger::ThreadBase::TrackBase::releaseBuffer(AudioBufferProvider::Buffer* buffer [all...] |
PatchPanel.h | 19 #error This header file should only be included from AudioFlinger.h 27 explicit PatchPanel(const sp<AudioFlinger>& audioFlinger); 88 const wp<AudioFlinger> mAudioFlinger;
|
Threads.cpp | 19 #define LOG_TAG "AudioFlinger" 59 #include "AudioFlinger.h" 184 // AudioFlinger derives the default from HAL buffer size and 'fast track multiplier'. 433 const char *AudioFlinger::ThreadBase::threadTypeToString(AudioFlinger::ThreadBase::type_t type) 497 AudioFlinger::ThreadBase::ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, 501 mAudioFlinger(audioFlinger), 517 AudioFlinger::ThreadBase::~ThreadBase( [all...] |
Effects.cpp | 19 #define LOG_TAG "AudioFlinger" 32 #include "AudioFlinger.h" 59 #define LOG_TAG "AudioFlinger::EffectModule" 61 AudioFlinger::EffectModule::EffectModule(ThreadBase *thread, 62 const wp<AudioFlinger::EffectChain>& chain, 82 sp<AudioFlinger> audioFlinger = mAudioFlinger.promote(); 83 if (audioFlinger != 0) { 84 sp<EffectsFactoryHalInterface> effectsFactory = audioFlinger->getEffectsFactory(); 109 AudioFlinger::EffectModule::~EffectModule( [all...] |
AudioFlinger.cpp | 19 #define LOG_TAG "AudioFlinger" 48 #include "AudioFlinger.h" 91 static const char kDeadlockedString[] = "AudioFlinger may be deadlocked\n"; 97 nsecs_t AudioFlinger::mStandbyTimeInNsecs = kDefaultStandbyTimeInNsecs; 99 uint32_t AudioFlinger::mScreenState; 103 bool AudioFlinger::mTeeSinkInputEnabled = false; 104 bool AudioFlinger::mTeeSinkOutputEnabled = false; 105 bool AudioFlinger::mTeeSinkTrackEnabled = false; 107 size_t AudioFlinger::mTeeSinkInputFrames = kTeeSinkInputFramesDefault; 108 size_t AudioFlinger::mTeeSinkOutputFrames = kTeeSinkOutputFramesDefault [all...] |
MmapTracks.h | 19 #error This header file should only be included from AudioFlinger.h
|
RecordTracks.h | 19 #error This header file should only be included from AudioFlinger.h 67 friend class AudioFlinger; // for mState
|
Effects.h | 19 #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 170 wp<AudioFlinger> mAudioFlinger; 178 // The EffectHandle is obtained by calling AudioFlinger::createEffect(). 183 const sp<AudioFlinger::Client>& client, 235 friend class AudioFlinger; // for mEffect, mHasControl, mEnable [all...] |
PatchPanel.cpp | 19 #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>& audioFlinger 144 sp<AudioFlinger> audioflinger = mAudioFlinger.promote(); local 522 sp<AudioFlinger> audioflinger = mAudioFlinger.promote(); local 581 sp<AudioFlinger> audioflinger = mAudioFlinger.promote(); local 678 sp<AudioFlinger> audioflinger = mAudioFlinger.promote(); local [all...] |
Threads.h | 19 #error This header file should only be included from AudioFlinger.h 39 ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, 250 // Called by AudioFlinger::frameCount(audio_io_handle_t output) and effects, 298 const sp<AudioFlinger::Client>& client, 337 sp<AudioFlinger::EffectModule> getEffect(audio_session_t sessionId, int effectId); 338 sp<AudioFlinger::EffectModule> getEffect_l(audio_session_t sessionId, int effectId); 434 friend class AudioFlinger; // for mEffectChains 441 const sp<AudioFlinger> mAudioFlinger; 634 PlaybackThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output [all...] |
Android.mk | 24 AudioFlinger.cpp \
|
AudioFlinger.h | 104 class AudioFlinger : 105 public BinderService<AudioFlinger>, 108 friend class BinderService<AudioFlinger>; // for AudioFlinger() 360 AudioFlinger() ANDROID_API; 361 virtual ~AudioFlinger(); 431 // AudioFlinger::setParameters() updates, other threads read w/o lock 445 Client(const sp<AudioFlinger>& audioFlinger, pid_t pid); 449 sp<AudioFlinger> audioFlinger() const { return mAudioFlinger; [all...] |
TrackBase.h | 19 #error This header file should only be included from AudioFlinger.h 191 const size_t mFrameSize; // AudioFlinger's view of frame size in shared memory,
|
PlaybackTracks.h | 19 #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/ |
main_audioserver.cpp | 36 #include "AudioFlinger.h" 134 AudioFlinger::instantiate();
|
/frameworks/av/media/libaudioclient/include/media/ |
IAudioFlinger.h | 44 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/ |
IAudioFlinger.cpp | [all...] |