HomeSort by relevance Sort by last modified time
    Searched refs:audioFlinger (Results 1 - 11 of 11) sorted by null

  /frameworks/av/services/audioflinger/
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;
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...]
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.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...]
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
503 sp<AudioFlinger> audioflinger = mAudioFlinger.promote(); local
553 sp<AudioFlinger> audioflinger = mAudioFlinger.promote(); local
668 sp<AudioFlinger> audioflinger = mAudioFlinger.promote(); local
    [all...]
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...]
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...]
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...]
  /frameworks/av/media/libmedia/
AudioEffect.cpp 108 const sp<IAudioFlinger>& audioFlinger = AudioSystem::get_audio_flinger();
109 if (audioFlinger == 0) {
110 ALOGE("set(): Could not get audioflinger");
130 iEffect = audioFlinger->createEffect((effect_descriptor_t *)&mDescriptor,
134 ALOGE("set(): AudioFlinger could not create effect, status: %d", mStatus);
AudioRecord.cpp 186 // these below should probably come from the audioFlinger too...
196 // Temporary restriction: AudioFlinger currently supports 16-bit PCM only
420 const sp<IAudioFlinger>& audioFlinger = AudioSystem::get_audio_flinger();
421 if (audioFlinger == 0) {
422 ALOGE("Could not get audioflinger");
465 // Now that we have a reference to an I/O handle and have not yet handed it off to AudioFlinger,
478 sp<IAudioRecord> record = audioFlinger->openRecord(input,
493 ALOGE("AudioFlinger could not create record track, status: %d", status);
498 // AudioFlinger now owns the reference to the I/O handle,
    [all...]
AudioTrack.cpp 300 // these below should probably come from the audioFlinger too...
320 // AudioFlinger does not currently support 8-bit data in shared memory
535 // Force flush if a shared buffer is used otherwise audioflinger
932 const sp<IAudioFlinger>& audioFlinger = AudioSystem::get_audio_flinger();
933 if (audioFlinger == 0) {
934 ALOGE("Could not get audioflinger");
954 // Now that we have a reference to an I/O handle and have not yet handed it off to AudioFlinger,
    [all...]

Completed in 484 milliseconds