/frameworks/av/services/audioflinger/tests/ |
build_and_run_all_unit_tests.sh | 11 pushd $ANDROID_BUILD_TOP/frameworks/av/services/audioflinger/ 20 sh $ANDROID_BUILD_TOP/frameworks/av/services/audioflinger/tests/run_all_unit_tests.sh
|
Android.mk | 1 # Build the unit tests for audioflinger 27 frameworks/av/services/audioflinger 52 frameworks/av/services/audioflinger
|
/frameworks/av/services/audioflinger/ |
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 146 sp<AudioFlinger> audioflinger = mAudioFlinger.promote(); local 501 sp<AudioFlinger> audioflinger = mAudioFlinger.promote(); local 551 sp<AudioFlinger> audioflinger = mAudioFlinger.promote(); local 666 sp<AudioFlinger> audioflinger = mAudioFlinger.promote(); local [all...] |
PatchPanel.h | 19 #error This header file should only be included from AudioFlinger.h 27 PatchPanel(const sp<AudioFlinger>& audioFlinger); 76 const wp<AudioFlinger> mAudioFlinger;
|
AudioFlinger.cpp | 19 #define LOG_TAG "AudioFlinger" 45 #include "AudioFlinger.h" 83 static const char kDeadlockedString[] = "AudioFlinger may be deadlocked\n"; 88 nsecs_t AudioFlinger::mStandbyTimeInNsecs = kDefaultStandbyTimeInNsecs; 90 uint32_t AudioFlinger::mScreenState; 93 bool AudioFlinger::mTeeSinkInputEnabled = false; 94 bool AudioFlinger::mTeeSinkOutputEnabled = false; 95 bool AudioFlinger::mTeeSinkTrackEnabled = false; 97 size_t AudioFlinger::mTeeSinkInputFrames = kTeeSinkInputFramesDefault; 98 size_t AudioFlinger::mTeeSinkOutputFrames = kTeeSinkOutputFramesDefault [all...] |
Effects.cpp | 19 #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::EffectModule::controlHandle_l( [all...] |
Tracks.cpp | 19 #define LOG_TAG "AudioFlinger" 33 #include "AudioFlinger.h" 63 // TrackBase constructor must be called with AudioFlinger::mLock held 64 AudioFlinger::ThreadBase::TrackBase::TrackBase( 206 status_t AudioFlinger::ThreadBase::TrackBase::initCheck() const 217 AudioFlinger::ThreadBase::TrackBase::~TrackBase() 233 // Client destructor must run with AudioFlinger client mutex locked 234 Mutex::Autolock _l(mClient->audioFlinger()->mClientLock); 236 // must run with AudioFlinger lock held. Thus the explicit clear() rather than 247 void AudioFlinger::ThreadBase::TrackBase::releaseBuffer(AudioBufferProvider::Buffer* buffer [all...] |
Threads.cpp | 19 #define LOG_TAG "AudioFlinger" 55 #include "AudioFlinger.h" 155 // FIXME It would be better for client to tell AudioFlinger the value of N, 156 // so AudioFlinger could allocate the right amount of memory. 317 AudioFlinger::ThreadBase::ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, 321 mAudioFlinger(audioFlinger), 333 AudioFlinger::ThreadBase::~ThreadBase() 346 status_t AudioFlinger::ThreadBase::readyToRun( [all...] |
AudioFlinger.h | 77 // AudioFlinger has a hard-coded upper limit of 2 channels for capture and playback. 90 class AudioFlinger : 91 public BinderService<AudioFlinger>, 94 friend class BinderService<AudioFlinger>; // for AudioFlinger() 320 AudioFlinger() ANDROID_API; 321 virtual ~AudioFlinger(); 382 // AudioFlinger::setParameters() updates, other threads read w/o lock 396 Client(const sp<AudioFlinger>& audioFlinger, pid_t pid) [all...] |
Threads.h | 19 #error This header file should only be included from AudioFlinger.h 35 ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, 239 // Called by AudioFlinger::frameCount(audio_io_handle_t output) and effects, 279 const sp<AudioFlinger::Client>& client, 315 sp<AudioFlinger::EffectModule> getEffect(int sessionId, int effectId); 316 sp<AudioFlinger::EffectModule> getEffect_l(int sessionId, int effectId); 393 friend class AudioFlinger; // for mEffectChains 400 const sp<AudioFlinger> mAudioFlinger; 467 PlaybackThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output [all...] |
ServiceUtilities.cpp | 24 // Not valid until initialized by AudioFlinger constructor. It would have to be 25 // re-initialized if the process containing AudioFlinger service forks (which it doesn't).
|
Effects.h | 19 #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; // for mEffect, mHasControl, mEnable [all...] |
Configuration.h | 18 // so that the instantiate for AudioFlinger service will pick up the same options.
|
/device/htc/flounder/audio/hal/ |
Android.mk | 10 # TODO: remove resampler if possible when AudioFlinger supports downsampling from 48 to 8
|
/frameworks/av/media/mediaserver/ |
Android.mk | 37 frameworks/av/services/audioflinger \
|
main_mediaserver.cpp | 32 #include "AudioFlinger.h" 128 AudioFlinger::instantiate();
|
/frameworks/av/services/soundtrigger/ |
Android.mk | 41 $(TOPDIR)frameworks/av/services/audioflinger
|
/frameworks/av/services/audiopolicy/ |
AudioPolicyClientImpl.cpp | 32 ALOGW("%s: could not get AudioFlinger", __func__); 49 ALOGW("%s: could not get AudioFlinger", __func__); 61 ALOGW("%s: could not get AudioFlinger", __func__); 81 ALOGW("%s: could not get AudioFlinger", __func__); 92 ALOGW("%s: could not get AudioFlinger", __func__); 109 ALOGW("%s: could not get AudioFlinger", __func__);
|
AudioPolicyClientImplLegacy.cpp | 58 ALOGW("%s: could not get AudioFlinger", __func__); 76 ALOGW("%s: could not get AudioFlinger", __func__); 138 ALOGW("%s: could not get AudioFlinger", __func__); 158 ALOGW("%s: could not get AudioFlinger", __func__); 169 ALOGW("%s: could not get AudioFlinger", __func__); 184 ALOGW("%s: could not get AudioFlinger", __func__);
|
Android.mk | 22 $(TOPDIR)frameworks/av/services/audioflinger \
|
/frameworks/av/include/media/ |
AudioResamplerPublic.h | 22 // as permitted in the audio framework, e.g. AudioTrack and AudioFlinger.
|
ExtendedAudioBufferProvider.h | 27 virtual size_t framesReady() const = 0; // see description at AudioFlinger.h
|
AudioSystem.h | 40 /* These are static methods to control the system-wide AudioFlinger 92 // helper function to obtain AudioFlinger service handle 127 // return the number of audio frames written by AudioFlinger to audio HAL and 143 // If unable to contact AudioFlinger, returns AUDIO_UNIQUE_ID_ALLOCATE instead. 144 // FIXME If AudioFlinger were to ever exhaust the unique ID namespace, 214 // Client must successfully hand off the handle reference to AudioFlinger via createTrack(), 236 // Client must successfully hand off the handle reference to AudioFlinger via openRecord(),
|
IAudioFlinger.h | 45 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 140 // For a given calling pid, AudioFlinger disregards any registrations after the first. 195 // AudioFlinger doesn't take over handle reference from client 213 // Intended for AudioService to inform AudioFlinger of device's low RAM attribute,
|
/docs/source.android.com/src/devices/ |
audio_debugging.jd | 35 an AudioFlinger debugging feature, available in custom builds only, 56 <li><code>cd frameworks/av/services/audioflinger</code></li> 101 See the code at <code>AudioFlinger::AudioFlinger()</code> in <code>AudioFlinger.cpp</code> 195 process, which includes the AudioFlinger sound server, uses 315 As of Android 4.4, there are only a few log points in AudioFlinger 320 In particular, it is recommended for AudioFlinger threads that must 347 In other AudioFlinger threads, use <code>mNBLogWriter</code>: 363 After you have added the logs, re-build AudioFlinger [all...] |