OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
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);
261
friend class
AudioFlinger
; // for mEffectChains
268
const sp<
AudioFlinger
> mAudioFlinger;
354
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
()
289
AudioFlinger
() ANDROID_API;
290
virtual ~
AudioFlinger
();
308
//
AudioFlinger
::setParameters() updates, other threads read w/o lock
322
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
the value of N,
141
// 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
),
283
AudioFlinger
::ThreadBase::~ThreadBase()
300
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(
170
AudioFlinger
::ThreadBase::TrackBase::~TrackBase()
186
// Client destructor must run with
AudioFlinger
mutex locked
187
Mutex::Autolock _l(mClient->
audioFlinger
()->mLock);
189
// must run with
AudioFlinger
lock held. Thus the explicit clear() rather than
198
void
AudioFlinger
::ThreadBase::TrackBase::releaseBuffer(AudioBufferProvider::Buffer* buffer)
214
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
252
// these below should probably come from the
audioFlinger
too...
266
//
AudioFlinger
does not currently support 8-bit data in shared memory
468
// Force flush if a shared buffer is used otherwise
audioflinger
856
const sp<IAudioFlinger>&
audioFlinger
= AudioSystem::get_audio_flinger();
857
if (
audioFlinger
== 0) {
858
ALOGE("Could not get
audioflinger
");
925
// 8-bit data in shared memory is not currently supported by
AudioFlinger
994
sp<IAudioTrack> track =
audioFlinger
->createTrack(streamType,
996
//
AudioFlinger
only sees 16-bit PCM
1011
ALOGE("
AudioFlinger
could not create track, status: %d", status)
[
all
...]
Completed in 171 milliseconds