Home | History | Annotate | Download | only in audioflinger

Lines Matching refs:MIXER

102 // minimum sleep time for the mixer thread loop when tracks are active but in underrun
104 // maximum divider applied to the active sleep time in the mixer thread loop
115 // Whether to use fast mixer
119 // normal mixer multiplier is 1
121 // multiplier is calculated based on min & max normal mixer buffer size
123 // multiplier is calculated based on min & max normal mixer buffer size
239 " (%u mixer loops at %.1f mean ms per loop):\n"
489 case MIXER:
759 // Allow global effects only on offloaded and mixer threads
762 case MIXER:
1020 // index 0 is reserved for normal mixer's submix
1119 fdprintf(fd, "Normal mixer raw underrun counters: partial=%u empty=%u\n",
1225 // normal mixer has an associated fast mixer
1232 // if frameCount not specified, then it defaults to fast mixer (HAL) frame count
1247 // to be at least 2 x the normal mixer frame count and cover audio hardware latency.
1633 if ((mType == MIXER || mType == DUPLICATING) && mChannelMask != AUDIO_CHANNEL_OUT_STEREO) {
1642 if ((mType == MIXER || mType == DUPLICATING) && mFormat != AUDIO_FORMAT_PCM_16_BIT) {
1664 if (mType == MIXER && (kUseFastMixer == FastMixer_Static ||
1876 // shared by MIXER and DIRECT, overridden by DUPLICATING
1884 // If an NBAIO sink is present, use it to write the normal mixer's submix
1972 - maxPeriod from frame count and sample rate (MIXER only)
1994 ALOGV("MixerThread::invalidateTracks() mixer %p, streamType %d, mTracks.size %d",
2156 // MIXER
2168 if (mType == MIXER) {
2269 if (mType == MIXER) {
2349 if (mType == MIXER) {
2371 // same lock. This will also mutate and push a new fast mixer state.
2391 if (mType == MIXER || mType == DIRECT || mType == OFFLOAD) {
2466 // FIXME - Current mixer implementation only supports stereo output
2478 // initialize fast mixer depending on configuration
2496 // This pipe depth compensates for scheduling latency of the normal mixer thread.
2524 // create fast mixer and configure it initially with just one fast track for our submix
2539 // fast mixer will use the HAL output sink
2557 // start the fast mixer
2612 // Though the fast mixer thread has exited, it's state queue is still valid.
2653 // Start the fast mixer if it's not already running
2687 // Idle the fast mixer if it's currently running
2714 // Empty implementation for standard mixer
2736 // shared by MIXER and DIRECT, overridden by DUPLICATING
2739 ALOGV("Audio hardware entering standby, mixer %p, suspend count %d", this, mSuspended);
2771 // Only increase sleep time if the mixer is ready for two consecutive times to avoid
2864 // the track never becomes active so it's fast mixer slot is never touched.
2866 // at the identical fast mixer slot within the same normal mix cycle,
2889 // FIXME fast mixer will pull & mix partial buffers, but we count as a full underrun
2959 // Can't reset directly, as fast mixer is still polling this track
2985 // cache the combined master volume and stream type volume for fast mixer; this
3191 // If one track is ready, set the mixer ready if:
3192 // - the mixer was not ready during previous round OR
3233 // If one track is not ready, mark the mixer also not ready if:
3234 // - the mixer was ready during previous round OR
3253 // if the fast mixer was active, but now there are no fast tracks, then put it in cold idle
3264 // so that fast mixer stops doing I/O.
3297 // effect chain as in this case the mixer will not write to
3322 ALOGV("remove track (%d) and delete from mixer", name);
3474 // Make a non-atomic copy of fast mixer dump state so it won't change underneath us
3604 // Only consider last track started for volume and mixer state control.
3667 // Only consider last track started for mixer state control
3979 // Only consider last track started for volume and mixer state control.