Searched refs:FastMixerState (Results 1 – 11 of 11) sorted by relevance
25 FastMixerState::FastMixerState() : FastThreadState() in FastMixerState() function in android::FastMixerState34 unsigned FastMixerState::sMaxFastTracks = kDefaultFastTracks;37 pthread_once_t FastMixerState::sMaxFastTracksOnce = PTHREAD_ONCE_INIT;40 const char *FastMixerState::commandToString(Command command) in commandToString()47 case FastMixerState::MIX: return "MIX"; in commandToString()48 case FastMixerState::WRITE: return "WRITE"; in commandToString()49 case FastMixerState::MIX_WRITE: return "MIX_WRITE"; in commandToString()55 void FastMixerState::sMaxFastTracksInit() in sMaxFastTracksInit()
49 /*static*/ const FastMixerState FastMixer::sInitial;99 mPreIdle = *(const FastMixerState *)mCurrent; in onIdle()112 switch ((FastMixerState::Command) command) { in isSubClassCommand()113 case FastMixerState::MIX: in isSubClassCommand()114 case FastMixerState::WRITE: in isSubClassCommand()115 case FastMixerState::MIX_WRITE: in isSubClassCommand()123 const FastMixerState * const current = (const FastMixerState *) mCurrent; in updateMixerTrack()195 const FastMixerState * const current = (const FastMixerState *) mCurrent; in onStateChange()196 const FastMixerState * const previous = (const FastMixerState *) mPrevious; in onStateChange()331 const FastMixerState * const current = (const FastMixerState *) mCurrent; in onWork()[all …]
31 using FastMixerStateQueue = StateQueue<FastMixerState>;69 static const FastMixerState sInitial;71 FastMixerState mPreIdle; // copy of state before we went into idle72 int mGenerations[FastMixerState::kMaxFastTracks]{};
65 struct FastMixerState : FastThreadState { struct66 FastMixerState();104 static_assert(!std::is_polymorphic_v<FastMixerState>);
48 if (mCommand == FastMixerState::INITIAL) { in dump()59 FastMixerState::commandToString(mCommand), mWriteSequence, mFramesWritten, in dump()163 FastMixerState::sMaxFastTracks, trackMask); in dump()165 for (uint32_t i = 0; i < FastMixerState::sMaxFastTracks; ++i, trackMask >>= 1) { in dump()
76 FastTrackDump mTracks[FastMixerState::kMaxFastTracks];
44 "FastMixerState.cpp",
182 template class StateQueue<FastMixerState>;
2161 mFastTrackAvailMask(((1 << FastMixerState::sMaxFastTracks) - 1) & ~1), in PlaybackThread()2998 ALOG_ASSERT(0 < index && index < (int)FastMixerState::sMaxFastTracks); in removeTrack_l()5189 FastMixerState *state = sq->begin(); in MixerThread()5213 state->mCommand = FastMixerState::COLD_IDLE; in MixerThread()5269 FastMixerState *state = sq->begin(); in ~MixerThread()5270 if (state->mCommand == FastMixerState::COLD_IDLE) { in ~MixerThread()5276 state->mCommand = FastMixerState::EXIT; in ~MixerThread()5333 FastMixerState *state = sq->begin(); in threadLoop_write()5334 if (state->mCommand != FastMixerState::MIX_WRITE && in threadLoop_write()5336 if (state->mCommand == FastMixerState::COLD_IDLE) { in threadLoop_write()[all …]
1675 ALOG_ASSERT(fastIndex < FastMixerState::sMaxFastTracks); in getFastTrackUnderruns()
826 ALOG_ASSERT(0 < i && i < (int)FastMixerState::sMaxFastTracks); in Track()