Index: webrtc/modules/audio_mixer/audio_frame_manipulator.h |
diff --git a/webrtc/modules/audio_mixer/audio_frame_manipulator.h b/webrtc/modules/audio_mixer/audio_frame_manipulator.h |
index e0ba7eb24a42d2aa557839168b39d08c15db1da9..b149bf9430f224e44634a85a18f193e5d0675381 100644 |
--- a/webrtc/modules/audio_mixer/audio_frame_manipulator.h |
+++ b/webrtc/modules/audio_mixer/audio_frame_manipulator.h |
@@ -19,9 +19,9 @@ namespace webrtc { |
// Updates the audioFrame's energy (based on its samples). |
uint32_t AudioMixerCalculateEnergy(const AudioFrame& audio_frame); |
-// Apply linear step function that ramps in/out the audio samples in audio_frame |
-void NewMixerRampIn(AudioFrame* audio_frame); |
-void NewMixerRampOut(AudioFrame* audio_frame); |
+// Ramps up or down the provided audio frame. Ramp(0, 1, frame) will |
+// linearly increase the samples in the frame from 0 to full volume. |
+void Ramp(float start_gain, float target_gain, AudioFrame* audio_frame); |
// Downmixes or upmixes a frame between stereo and mono. |
void RemixFrame(size_t target_number_of_channels, AudioFrame* frame); |