Searched defs:ramp (Results 1 - 1 of 1) sorted by relevance

/frameworks/av/services/audioflinger/
H A DAudioMixer.cpp723 /* Sets the volume ramp variables for the AudioMixer.
725 * The volume ramp variables are used to transition from the previous
726 * volume to the set volume. ramp controls the duration of the transition.
730 * FIXME: 1) Volume ramp is enabled only if there is a nonzero integer increment
738 * @param ramp number of frames to increment over. if ramp is 0, the volume
739 * should be set immediately. Currently ramp should not exceed 65535 (frames).
748 static inline bool setVolumeRampVariables(float newVolume, int32_t ramp, argument
755 if (ramp != 0) {
756 *pVolumeInc = (newVolume - *pSetVolume) / ramp;
1933 volumeMix(TO *out, size_t outFrames, const TI *in, TA *aux, bool ramp, AudioMixer::track_t *t) argument
1981 const bool ramp = t->needsRamp(); local
2033 const bool ramp = t->needsRamp(); local
[all...]

Completed in 136 milliseconds