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

Unified Diff: webrtc/voice_engine/transmit_mixer.h

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/transmit_mixer.h
diff --git a/webrtc/voice_engine/transmit_mixer.h b/webrtc/voice_engine/transmit_mixer.h
index 919de131238f5123ddb9fb4c16d7a9ca5423162b..8bbb421a3b55216ac6d892404193e23bb2bc3d93 100644
--- a/webrtc/voice_engine/transmit_mixer.h
+++ b/webrtc/voice_engine/transmit_mixer.h
@@ -51,7 +51,7 @@ public:
AudioProcessing* audioProcessingModule);
int32_t PrepareDemux(const void* audioSamples,
- uint32_t nSamples,
+ size_t nSamples,
uint8_t nChannels,
uint32_t samplesPerSec,
uint16_t totalDelayMS,
@@ -173,7 +173,7 @@ private:
void GetSendCodecInfo(int* max_sample_rate, int* max_channels);
void GenerateAudioFrame(const int16_t audioSamples[],
- int nSamples,
+ size_t nSamples,
int nChannels,
int samplesPerSec);
int32_t RecordAudioToFile(uint32_t mixingFrequency);
« no previous file with comments | « webrtc/voice_engine/test/auto_test/standard/neteq_stats_test.cc ('k') | webrtc/voice_engine/transmit_mixer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698