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

Unified Diff: webrtc/modules/include/module_common_types.h

Issue 1810413002: Avoid clicks when muting/unmuting a voe::Channel. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: undo loop unrolling Created 4 years, 9 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
« no previous file with comments | « no previous file | webrtc/modules/utility/include/audio_frame_operations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/include/module_common_types.h
diff --git a/webrtc/modules/include/module_common_types.h b/webrtc/modules/include/module_common_types.h
index 6074eec79398323e2739c08c7ff9f31f6b8a752f..853b431ebc3b5a73894a462531187023278bdf83 100644
--- a/webrtc/modules/include/module_common_types.h
+++ b/webrtc/modules/include/module_common_types.h
@@ -482,7 +482,9 @@ struct VideoContentMetrics {
class AudioFrame {
public:
// Stereo, 32 kHz, 60 ms (2 * 32 * 60)
- static const size_t kMaxDataSizeSamples = 3840;
+ enum : size_t {
+ kMaxDataSizeSamples = 3840
+ };
enum VADActivity {
kVadActive = 0,
@@ -498,7 +500,6 @@ class AudioFrame {
};
AudioFrame();
- virtual ~AudioFrame() {}
// Resets all members to their default state (except does not modify the
// contents of |data_|).
« no previous file with comments | « no previous file | webrtc/modules/utility/include/audio_frame_operations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698