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

Unified Diff: webrtc/modules/audio_mixer/new_audio_conference_mixer_impl.cc

Issue 2238803002: Changed folder structure in new mixer and fixed simple lint errors. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Small changes in response to comments. Created 4 years, 4 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_mixer/new_audio_conference_mixer_impl.cc
diff --git a/webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.cc b/webrtc/modules/audio_mixer/new_audio_conference_mixer_impl.cc
similarity index 98%
rename from webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.cc
rename to webrtc/modules/audio_mixer/new_audio_conference_mixer_impl.cc
index dbb46ff0b10f2c6bd44e931a9e8df721f004e0c0..5be76ec4d02df415711fc9fa9a1e504ea86da213 100644
--- a/webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.cc
+++ b/webrtc/modules/audio_mixer/new_audio_conference_mixer_impl.cc
@@ -8,13 +8,13 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "webrtc/modules/audio_mixer/source/new_audio_conference_mixer_impl.h"
+#include "webrtc/modules/audio_mixer/new_audio_conference_mixer_impl.h"
#include <algorithm>
#include <functional>
-#include "webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.h"
-#include "webrtc/modules/audio_mixer/include/audio_mixer_defines.h"
+#include "webrtc/modules/audio_mixer/audio_frame_manipulator.h"
+#include "webrtc/modules/audio_mixer/audio_mixer_defines.h"
#include "webrtc/modules/audio_processing/include/audio_processing.h"
#include "webrtc/modules/utility/include/audio_frame_operations.h"
#include "webrtc/system_wrappers/include/critical_section_wrapper.h"
@@ -32,7 +32,7 @@ class SourceFrame {
muted_(m),
was_mixed_before_(was_mixed_before) {
if (!muted_) {
- energy_ = CalculateEnergy(*a);
+ energy_ = NewMixerCalculateEnergy(*a);
}
}
@@ -410,7 +410,7 @@ AudioFrameList NewAudioConferenceMixerImpl::UpdateToMix(
if (maxAudioFrameCounter > 0) {
--maxAudioFrameCounter;
if (!p.was_mixed_before_) {
- RampIn(*p.audio_frame_);
+ NewMixerRampIn(p.audio_frame_);
}
result.emplace_back(p.audio_frame_, false);
is_mixed = true;
@@ -418,7 +418,7 @@ AudioFrameList NewAudioConferenceMixerImpl::UpdateToMix(
// Ramp out unmuted.
if (p.was_mixed_before_ && !is_mixed) {
- RampOut(*p.audio_frame_);
+ NewMixerRampOut(p.audio_frame_);
result.emplace_back(p.audio_frame_, false);
}
« no previous file with comments | « webrtc/modules/audio_mixer/new_audio_conference_mixer_impl.h ('k') | webrtc/modules/audio_mixer/source/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698