Searched refs:FastMixerState (Results 1 – 11 of 11) sorted by relevance
35 FastMixerState::FastMixerState() : FastThreadState(), in FastMixerState() function in android::FastMixerState46 FastMixerState::~FastMixerState() in ~FastMixerState()51 unsigned FastMixerState::sMaxFastTracks = kDefaultFastTracks;54 pthread_once_t FastMixerState::sMaxFastTracksOnce = PTHREAD_ONCE_INIT;57 const char *FastMixerState::commandToString(Command command) in commandToString()64 case FastMixerState::MIX: return "MIX"; in commandToString()65 case FastMixerState::WRITE: return "WRITE"; in commandToString()66 case FastMixerState::MIX_WRITE: return "MIX_WRITE"; in commandToString()72 void FastMixerState::sMaxFastTracksInit() in sMaxFastTracksInit()
49 /*static*/ const FastMixerState FastMixer::sInitial;85 for (i = 0; i < FastMixerState::sMaxFastTracks; ++i) { in FastMixer()114 mPreIdle = *(const FastMixerState *)mCurrent; in onIdle()127 switch ((FastMixerState::Command) command) { in isSubClassCommand()128 case FastMixerState::MIX: in isSubClassCommand()129 case FastMixerState::WRITE: in isSubClassCommand()130 case FastMixerState::MIX_WRITE: in isSubClassCommand()138 const FastMixerState * const current = (const FastMixerState *) mCurrent; in updateMixerTrack()208 const FastMixerState * const current = (const FastMixerState *) mCurrent; in onStateChange()209 const FastMixerState * const previous = (const FastMixerState *) mPrevious; in onStateChange()[all …]
32 typedef StateQueue<FastMixerState> FastMixerStateQueue;71 static const FastMixerState sInitial;73 FastMixerState mPreIdle; // copy of state before we went into idle74 int mGenerations[FastMixerState::kMaxFastTracks];
57 struct FastMixerState : FastThreadState { struct58 FastMixerState();59 /*virtual*/ ~FastMixerState();
61 if (mCommand == FastMixerState::INITIAL) { in dump()72 FastMixerState::commandToString(mCommand), mWriteSequence, mFramesWritten, in dump()176 FastMixerState::sMaxFastTracks, trackMask); in dump()178 for (uint32_t i = 0; i < FastMixerState::sMaxFastTracks; ++i, trackMask >>= 1) { in dump()
26 template class StateQueue<FastMixerState>; // typedef FastMixerStateQueue
78 FastTrackDump mTracks[FastMixerState::kMaxFastTracks];
19 "FastMixerState.cpp",
1864 mFastTrackAvailMask(((1 << FastMixerState::sMaxFastTracks) - 1) & ~1), in PlaybackThread()2593 ALOG_ASSERT(0 < index && index < (int)FastMixerState::sMaxFastTracks); in removeTrack_l()4447 FastMixerState *state = sq->begin(); in MixerThread()4468 state->mCommand = FastMixerState::COLD_IDLE; in MixerThread()4524 FastMixerState *state = sq->begin(); in ~MixerThread()4525 if (state->mCommand == FastMixerState::COLD_IDLE) { in ~MixerThread()4531 state->mCommand = FastMixerState::EXIT; in ~MixerThread()4573 FastMixerState *state = sq->begin(); in threadLoop_write()4574 if (state->mCommand != FastMixerState::MIX_WRITE && in threadLoop_write()4576 if (state->mCommand == FastMixerState::COLD_IDLE) { in threadLoop_write()[all …]
1288 ALOG_ASSERT(fastIndex < FastMixerState::sMaxFastTracks); in getFastTrackUnderruns()
582 ALOG_ASSERT(0 < i && i < (int)FastMixerState::sMaxFastTracks); in Track()