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

Unified Diff: webrtc/voice_engine/output_mixer.cc

Issue 1230503003: Update a ton of audio code to use size_t more correctly and in general reduce (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 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/voice_engine/output_mixer.cc
diff --git a/webrtc/voice_engine/output_mixer.cc b/webrtc/voice_engine/output_mixer.cc
index aa6ff4b6f0e0456835d16c0f40f267c1271c5dfc..3bffc35494e649d95a0bc13107c509a0e1542260 100644
--- a/webrtc/voice_engine/output_mixer.cc
+++ b/webrtc/voice_engine/output_mixer.cc
@@ -589,7 +589,7 @@ OutputMixer::InsertInbandDtmfTone()
} else
{
// stereo
- for (int i = 0; i < _audioFrame.samples_per_channel_; i++)
+ for (size_t i = 0; i < _audioFrame.samples_per_channel_; i++)
{
_audioFrame.data_[2 * i] = toneBuffer[i];
_audioFrame.data_[2 * i + 1] = 0;
« no previous file with comments | « webrtc/voice_engine/mock/fake_voe_external_media.h ('k') | webrtc/voice_engine/test/auto_test/fakes/fake_media_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698