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

Unified Diff: webrtc/modules/utility/interface/file_player.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/utility/interface/file_player.h
diff --git a/webrtc/modules/utility/interface/file_player.h b/webrtc/modules/utility/interface/file_player.h
index fdce277bdb78a1b8b1ecc3a1ee5abd68c6d6d3d0..44f03e475a0988418809b6fae1344d34b7580fa0 100644
--- a/webrtc/modules/utility/interface/file_player.h
+++ b/webrtc/modules/utility/interface/file_player.h
@@ -38,7 +38,7 @@ public:
// channel).
virtual int Get10msAudioFromFile(
int16_t* outBuffer,
- int& lengthInSamples,
+ size_t& lengthInSamples,
int frequencyInHz) = 0;
// Register callback for receiving file playing notifications.
« no previous file with comments | « webrtc/modules/utility/interface/audio_frame_operations.h ('k') | webrtc/modules/utility/source/audio_frame_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698