Lines Matching defs:previous
56 const FastMixerState *previous = &initial, *current = &initial;
85 struct timespec oldLoad = {0, 0}; // previous value of clock_gettime(CLOCK_THREAD_CPUTIME_ID)
125 ALOG_ASSERT(current == &initial && previous == &initial);
140 // We want to always have a valid reference to the previous (non-idle) state.
141 // However, the state queue only guarantees access to current and previous states.
145 // non-idle -> non-idle update previous from current in-place
146 // non-idle -> idle update previous from copy of current
147 // idle -> idle don't update previous
148 // idle -> non-idle don't update previous
159 previous = current;
176 // FIXME consider checking previous state and only perform if previous != COLD_IDLE
220 if (current != previous) {
223 // we're prepared for previous == &initial the first time through
242 if ((format != previousFormat) || (frameCount != previous->mFrameCount)) {
277 previousTrackMask = previous->mTrackMask;
379 previous = current;