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

Unified Diff: webrtc/common_audio/smoothing_filter.h

Issue 2520003005: Reland "Move smoothing filter to common audio". (Closed)
Patch Set: fixing Created 4 years, 1 month 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/common_audio/smoothing_filter.h
diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/smoothing_filter.h b/webrtc/common_audio/smoothing_filter.h
similarity index 81%
rename from webrtc/modules/audio_coding/audio_network_adaptor/smoothing_filter.h
rename to webrtc/common_audio/smoothing_filter.h
index c4de7b5da5a5dc7f85b2f5e258505fb5025cb7b1..64a83d14848ae6200edefd4a6d6e271feac12242 100644
--- a/webrtc/modules/audio_coding/audio_network_adaptor/smoothing_filter.h
+++ b/webrtc/common_audio/smoothing_filter.h
@@ -8,11 +8,11 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_SMOOTHING_FILTER_H_
-#define WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_SMOOTHING_FILTER_H_
+#ifndef WEBRTC_COMMON_AUDIO_SMOOTHING_FILTER_H_
+#define WEBRTC_COMMON_AUDIO_SMOOTHING_FILTER_H_
+#include "webrtc/base/analytics/exp_filter.h"
#include "webrtc/base/constructormagic.h"
-#include "webrtc/base/exp_filter.h"
#include "webrtc/base/optional.h"
#include "webrtc/system_wrappers/include/clock.h"
@@ -46,9 +46,9 @@ class SmoothingFilterImpl final : public SmoothingFilter {
int64_t last_sample_time_ms_;
rtc::ExpFilter filter_;
- RTC_DISALLOW_COPY_AND_ASSIGN(SmoothingFilterImpl);
+ RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(SmoothingFilterImpl);
};
} // namespace webrtc
-#endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_SMOOTHING_FILTER_H_
+#endif // WEBRTC_COMMON_AUDIO_SMOOTHING_FILTER_H_

Powered by Google App Engine
This is Rietveld 408576698