Searched refs:FastMixerState (Results 1 - 11 of 11) sorted by relevance

/frameworks/av/services/audioflinger/
H A DStateQueueInstantiations.cpp18 #include "FastMixerState.h"
26 template class StateQueue<FastMixerState>; // typedef FastMixerStateQueue
H A DFastMixerState.cpp17 #define LOG_TAG "FastMixerState"
21 #include "FastMixerState.h"
35 FastMixerState::FastMixerState() : FastThreadState(), function in class:android::FastMixerState
46 FastMixerState::~FastMixerState()
51 unsigned FastMixerState::sMaxFastTracks = kDefaultFastTracks;
54 pthread_once_t FastMixerState::sMaxFastTracksOnce = PTHREAD_ONCE_INIT;
57 const char *FastMixerState::commandToString(Command command)
64 case FastMixerState
[all...]
H A DFastMixerState.h53 struct FastMixerState : FastThreadState { struct in namespace:android
54 FastMixerState();
55 /*virtual*/ ~FastMixerState();
89 }; // struct FastMixerState
H A DFastMixer.h23 #include "FastMixerState.h"
30 typedef StateQueue<FastMixerState> FastMixerStateQueue;
57 static const FastMixerState sInitial;
59 FastMixerState mPreIdle; // copy of state before we went into idle
60 int mGenerations[FastMixerState::kMaxFastTracks];
H A DFastMixer.cpp48 /*static*/ const FastMixerState FastMixer::sInitial;
81 for (i = 0; i < FastMixerState::sMaxFastTracks; ++i) {
115 mPreIdle = *(const FastMixerState *)mCurrent;
128 switch ((FastMixerState::Command) command) {
129 case FastMixerState::MIX:
130 case FastMixerState::WRITE:
131 case FastMixerState::MIX_WRITE:
140 const FastMixerState * const current = (const FastMixerState *) mCurrent;
141 const FastMixerState * cons
[all...]
H A DFastMixerDumpState.cpp61 if (mCommand == FastMixerState::INITIAL) {
72 FastMixerState::commandToString(mCommand), mWriteSequence, mFramesWritten,
175 FastMixerState::sMaxFastTracks, trackMask);
177 for (uint32_t i = 0; i < FastMixerState::sMaxFastTracks; ++i, trackMask >>= 1) {
H A DFastMixerDumpState.h23 #include "FastMixerState.h"
76 FastTrackDump mTracks[FastMixerState::kMaxFastTracks];
H A DAndroid.mk75 FastMixerState.cpp \
H A DThreads.cpp1688 mFastTrackAvailMask(((1 << FastMixerState::sMaxFastTracks) - 1) & ~1),
2381 ALOG_ASSERT(0 < index && index < (int)FastMixerState::sMaxFastTracks);
3910 FastMixerState *state = sq->begin();
3924 state->mCommand = FastMixerState::COLD_IDLE;
3973 FastMixerState *state = sq->begin();
3974 if (state->mCommand == FastMixerState::COLD_IDLE) {
3980 state->mCommand = FastMixerState::EXIT;
4028 FastMixerState *state = sq->begin();
4029 if (state->mCommand != FastMixerState::MIX_WRITE &&
4031 if (state->mCommand == FastMixerState
[all...]
H A DThreads.h1151 ALOG_ASSERT(fastIndex < FastMixerState::sMaxFastTracks);
H A DTracks.cpp448 ALOG_ASSERT(0 < i && i < (int)FastMixerState::sMaxFastTracks);

Completed in 139 milliseconds