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

  /frameworks/av/services/audioflinger/
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,
128 // Called by AudioFlinger::frameCount(audio_io_handle_t output) and effects,
153 const sp<AudioFlinger::Client>& client,
192 sp<AudioFlinger::EffectModule> getEffect(int sessionId, int effectId);
193 sp<AudioFlinger::EffectModule> getEffect_l(int sessionId, int effectId);
258 friend class AudioFlinger; // for mEffectChains
265 const sp<AudioFlinger> mAudioFlinger;
351 PlaybackThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output
    [all...]
AudioFlinger.h 73 // AudioFlinger has a hard-coded upper limit of 2 channels for capture and playback.
89 class AudioFlinger :
90 public BinderService<AudioFlinger>,
93 friend class BinderService<AudioFlinger>; // for AudioFlinger()
288 AudioFlinger() ANDROID_API;
289 virtual ~AudioFlinger();
307 // AudioFlinger::setParameters() updates, other threads read w/o lock
321 Client(const sp<AudioFlinger>& audioFlinger, pid_t pid)
    [all...]
Threads.cpp 19 #define LOG_TAG "AudioFlinger"
51 #include "AudioFlinger.h"
140 // FIXME It would be better for client to tell AudioFlinger whether it wants double-buffering or
141 // N-buffering, so AudioFlinger could allocate the right amount of memory.
267 AudioFlinger::ThreadBase::ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id,
271 mAudioFlinger(audioFlinger),
282 AudioFlinger::ThreadBase::~ThreadBase()
299 void AudioFlinger::ThreadBase::exit(
    [all...]
AudioFlinger.cpp 19 #define LOG_TAG "AudioFlinger"
45 #include "AudioFlinger.h"
83 static const char kDeadlockedString[] = "AudioFlinger may be deadlocked\n";
87 nsecs_t AudioFlinger::mStandbyTimeInNsecs = kDefaultStandbyTimeInNsecs;
89 uint32_t AudioFlinger::mScreenState;
92 bool AudioFlinger::mTeeSinkInputEnabled = false;
93 bool AudioFlinger::mTeeSinkOutputEnabled = false;
94 bool AudioFlinger::mTeeSinkTrackEnabled = false;
96 size_t AudioFlinger::mTeeSinkInputFrames = kTeeSinkInputFramesDefault;
97 size_t AudioFlinger::mTeeSinkOutputFrames = kTeeSinkOutputFramesDefault
    [all...]
Tracks.cpp 19 #define LOG_TAG "AudioFlinger"
32 #include "AudioFlinger.h"
61 // TrackBase constructor must be called with AudioFlinger::mLock held
62 AudioFlinger::ThreadBase::TrackBase::TrackBase(
157 AudioFlinger::ThreadBase::TrackBase::~TrackBase()
173 // Client destructor must run with AudioFlinger mutex locked
174 Mutex::Autolock _l(mClient->audioFlinger()->mLock);
176 // must run with AudioFlinger lock held. Thus the explicit clear() rather than
185 void AudioFlinger::ThreadBase::TrackBase::releaseBuffer(AudioBufferProvider::Buffer* buffer)
201 status_t AudioFlinger::ThreadBase::TrackBase::setSyncEvent(const sp<SyncEvent>& event
    [all...]
Effects.cpp 19 #define LOG_TAG "AudioFlinger"
29 #include "AudioFlinger.h"
54 #define LOG_TAG "AudioFlinger::EffectModule"
56 AudioFlinger::EffectModule::EffectModule(ThreadBase *thread,
57 const wp<AudioFlinger::EffectChain>& chain,
94 AudioFlinger::EffectModule::~EffectModule()
104 status_t AudioFlinger::EffectModule::addHandle(EffectHandle *handle)
142 size_t AudioFlinger::EffectModule::removeHandle(EffectHandle *handle)
177 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 187 // these below should probably come from the audioFlinger too...
197 // Temporary restriction: AudioFlinger currently supports 16-bit PCM only
258 // Update buffer size in case it has been limited by AudioFlinger during track creation
427 const sp<IAudioFlinger>& audioFlinger = AudioSystem::get_audio_flinger();
428 if (audioFlinger == 0) {
429 ALOGE("Could not get audioflinger");
466 sp<IAudioRecord> record = audioFlinger->openRecord(input,
478 ALOGE("AudioFlinger could not create record track, status: %d", status);
943 // FIXME this fails if we have a new AudioFlinger instance
AudioTrack.cpp 245 // these below should probably come from the audioFlinger too...
259 // AudioFlinger does not currently support 8-bit data in shared memory
456 // Force flush if a shared buffer is used otherwise audioflinger
815 const sp<IAudioFlinger>& audioFlinger = AudioSystem::get_audio_flinger();
816 if (audioFlinger == 0) {
817 ALOGE("Could not get audioflinger");
883 // 8-bit data in shared memory is not currently supported by AudioFlinger
952 sp<IAudioTrack> track = audioFlinger->createTrack(streamType,
954 // AudioFlinger only sees 16-bit PCM
968 ALOGE("AudioFlinger could not create track, status: %d", status)
    [all...]

Completed in 63 milliseconds