Lines Matching refs:volume

619     // Set master volume in the HALs which support it.
631 // Now set the master volume in each playback thread. Playback threads
632 // assigned to HALs which do not have master volume support will apply
633 // master volume during the mix operation. Threads with HALs which do
634 // support master volume will simply ignore the setting.
792 mStreamTypes[stream].volume = value;
833 float volume;
839 volume = thread->streamVolume(stream);
841 volume = streamVolume_l(stream);
844 return volume;
1566 // If the HAL we are using has support for master volume or master mute,
1567 // then do not attenuate or mute during mixing (just leave the volume at 1.0
1587 mStreamTypes[stream].volume = mAudioFlinger->streamVolume_l(stream);
1618 result.appendFormat("%d:%.2g", i, 20.0 * log10(st->volume));
1905 // Don't apply master volume in SW if our HAL can do it for us.
1929 mStreamTypes[stream].volume = value;
1941 return mStreamTypes[stream].volume;
2919 // Delegate master volume control to effect in output mix effect chain if needed
3071 // cache the combined master volume and stream type volume for fast mixer; this
3074 0 : masterVolume * mStreamTypes[track->streamType()].volume;
3137 // Delegate volume control to effect in track effect chain if needed
3149 // no ramp for the first volume setting
3162 // compute volume for this track
3172 // read original volumes with volume control
3173 float typeVolume = mStreamTypes[track->streamType()].volume;
3180 ALOGV("Track left volume out of range: %04X", vl);
3184 ALOGV("Track right volume out of range: %04X", vr);
3187 // now apply the master volume and stream type volume
3190 // assuming master volume and stream type volume each go up to 1.0,
3201 // Delegate volume control to effect in track effect chain if needed
3203 // Do not ramp volume if volume is controlled by effect
3207 // force no volume ramp when volume controller was just disabled or removed
3208 // from effect chain to avoid volume spike
3744 // compute volume for this track
3753 float typeVolume = mStreamTypes[track->streamType()].volume;
3772 // Delegate volume control to effect in track effect chain if needed
3776 // Do not ramp volume if volume is controlled by effect
4826 // now apply the cached master volume and stream type volume;
6872 // volume. If this is the first HAL opened, and it supports the get
6874 // master mute and volume settings.
8710 // Send volume indication if EFFECT_FLAG_VOLUME_IND is set and read back altered volume
8716 uint32_t volume[2];
8718 uint32_t size = sizeof(volume);
8719 volume[0] = *left;
8720 volume[1] = *right;
8722 pVolume = volume;
8727 volume,
8730 if (controller && status == NO_ERROR && size == sizeof(volume)) {
8731 *left = volume[0];
8732 *right = volume[1];
9490 // first update volume controller
9512 // second get volume update from volume controller
9518 // then indicate volume to all other effects in chain.
9519 // Pass altered volume to effects before volume controller
9520 // and requested volume to effects after controller
9526 // this also works for ctrlIdx == -1 when there is no volume controller
9677 // The volume effect is used for automated tests only