Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1003)

Unified Diff: webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.h

Issue 1589953002: Removing webrtc::AudioFrame::energy_. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: after review Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.h
diff --git a/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.h b/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.h
index 2da3a4d0d137a457afb64c48d88a07e39bfc55d2..c136597fc37df7b16bb9e791732c9943197df7da 100644
--- a/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.h
+++ b/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.h
@@ -11,11 +11,13 @@
#ifndef WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_SOURCE_AUDIO_FRAME_MANIPULATOR_H_
#define WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_SOURCE_AUDIO_FRAME_MANIPULATOR_H_
+#include "webrtc/typedefs.h"
+
namespace webrtc {
class AudioFrame;
// Updates the audioFrame's energy (based on its samples).
-void CalculateEnergy(AudioFrame& audioFrame);
+uint32_t CalculateEnergy(const AudioFrame& audioFrame);
// Apply linear step function that ramps in/out the audio samples in audioFrame
void RampIn(AudioFrame& audioFrame);

Powered by Google App Engine
This is Rietveld 408576698