Home | History | Annotate | Download | only in audioflinger

Lines Matching refs:MIXER

125 // minimum sleep time for the mixer thread loop when tracks are active but in underrun
127 // maximum divider applied to the active sleep time in the mixer thread loop
147 // Whether to use fast mixer
151 // normal mixer multiplier is 1
153 // multiplier is calculated based on min & max normal mixer buffer size
155 // multiplier is calculated based on min & max normal mixer buffer size
398 " (%u mixer loops at %.1f mean ms per loop):\n"
430 case MIXER:
431 return "MIXER";
994 case MIXER:
1309 case MIXER: {
1310 // Reject any effect on mixer multichannel sinks.
1313 ALOGW("checkEffectCompatibility_l(): effect %s for multichannel(%d) on MIXER"
1367 // Reject any effect on mixer multichannel sinks.
1691 // index 0 is reserved for normal mixer's submix
1765 dprintf(fd, " Normal mixer raw underrun counters: partial=%u empty=%u\n",
1821 dprintf(fd, " Mixer buffer: %p\n", mMixerBuffer);
1876 // special case for FAST flag considered OK if fast mixer is present
1901 // normal mixer has an associated fast mixer
1953 // to be at least 2 x the normal mixer frame count and cover audio hardware latency.
2366 if ((mType == MIXER || mType == DUPLICATING)
2381 if ((mType == MIXER || mType == DUPLICATING)
2437 if (mType == MIXER && (kUseFastMixer == FastMixer_Static ||
2463 if (mType == MIXER || mType == DUPLICATING) {
2683 // shared by MIXER and DIRECT, overridden by DUPLICATING
2690 // If an NBAIO sink is present, use it to write the normal mixer's submix
2777 - maxPeriod from frame count and sample rate (MIXER only)
2808 ALOGV("MixerThread::invalidateTracks() mixer %p, streamType %d, mTracks.size %zu",
2984 // MIXER
2996 if (mType == MIXER) {
3042 // and the normal mixer period is the same as the fast mixer period, or there
3165 if (mType == MIXER) {
3216 // mono blend occurs for mixer threads only (not direct or offloaded)
3300 if (mType == MIXER && !mStandby) {
3324 // (1) mixer threads without a fast mixer (which has its own warm-up)
3341 "mixer(%p) throttle begin:"
3345 // Throttle must be attributed to the previous mixer loop's write time
3354 "mixer(%p) throttle end: throttle time(%u)", this, diff);
3373 // same lock. This will also mutate and push a new fast mixer state.
3633 // initialize fast mixer depending on configuration
3668 // adjust format to match that of the Fast Mixer
3673 // This pipe depth compensates for scheduling latency of the normal mixer thread.
3707 // create fast mixer and configure it initially with just one fast track for our submix
3724 // fast mixer will use the HAL output sink
3742 // start the fast mixer
3787 // Though the fast mixer thread has exited, it's state queue is still valid.
3828 // Start the fast mixer if it's not already running
3870 // Idle the fast mixer if it's currently running
3913 // shared by MIXER and DIRECT, overridden by DUPLICATING
3916 ALOGV("Audio hardware entering standby, mixer %p, suspend count %d", this, mSuspended);
3948 // Only increase sleep time if the mixer is ready for two consecutive times to avoid
4051 // the track never becomes active so it's fast mixer slot is never touched.
4053 // at the identical fast mixer slot within the same normal mix cycle,
4076 // FIXME fast mixer will pull & mix partial buffers, but we count as a full underrun
4148 // Can't reset directly, as fast mixer is still polling this track
4174 // cache the combined master volume and stream type volume for fast mixer; this
4437 // If one track is ready, set the mixer ready if:
4438 // - the mixer was not ready during previous round OR
4484 // If one track is not ready, mark the mixer also not ready if:
4485 // - the mixer was ready during previous round OR
4503 // if the fast mixer was active, but now there are no fast tracks, then put it in cold idle
4514 // so that fast mixer stops doing I/O.
4556 // effect chain as in this case the mixer will not write to the sink or mix buffer
4610 ALOGV("remove track (%d) and delete from mixer", name);
4729 // Make a non-atomic copy of fast mixer dump state so it won't change underneath us
4894 // Only consider last track started for volume and mixer state control.
5016 // Only consider last track started for mixer state control
5442 // Only consider last track started for volume and mixer state control.