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

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

Issue 1224123002: Update audio code to use size_t more correctly, webrtc/modules/ portion. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years, 5 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/level_indicator.h
diff --git a/webrtc/modules/audio_conference_mixer/source/level_indicator.h b/webrtc/modules/audio_conference_mixer/source/level_indicator.h
index b0e87ffa7181bc3a883bc1755b63dd9084e2f673..e54e9a9e0fa54d976821d8c82f2aa1dcd5662caf 100644
--- a/webrtc/modules/audio_conference_mixer/source/level_indicator.h
+++ b/webrtc/modules/audio_conference_mixer/source/level_indicator.h
@@ -11,6 +11,8 @@
#ifndef WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_SOURCE_LEVEL_INDICATOR_H_
#define WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_SOURCE_LEVEL_INDICATOR_H_
+#include <stddef.h>
+
#include "webrtc/typedefs.h"
namespace webrtc {
@@ -24,7 +26,7 @@ public:
// Updates the level.
void ComputeLevel(const int16_t* speech,
- const uint16_t nrOfSamples);
+ const size_t nrOfSamples);
int32_t GetLevel();
private:

Powered by Google App Engine
This is Rietveld 408576698