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

Unified Diff: remoting/host/audio_capturer.cc

Issue 10820059: Not streaming packets of silence. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 8 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
« no previous file with comments | « no previous file | remoting/host/audio_capturer_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/audio_capturer.cc
diff --git a/remoting/host/audio_capturer.cc b/remoting/host/audio_capturer.cc
index 8828475de5f1be97c1334da6b4bd8310757b023e..65b4fcb483449e6390dddb2344f72414234cc352 100644
--- a/remoting/host/audio_capturer.cc
+++ b/remoting/host/audio_capturer.cc
@@ -4,10 +4,14 @@
#include "remoting/host/audio_capturer.h"
+#include <stdlib.h>
Sergey Ulanov 2012/07/31 20:16:32 nit: do we still need this header?
kxing 2012/07/31 20:44:11 Done.
+
+#include "base/basictypes.h"
#include "remoting/proto/audio.pb.h"
namespace remoting {
+// Returns true if the sampling rate is supported by Pepper.
bool AudioCapturer::IsValidSampleRate(int sample_rate) {
switch (sample_rate) {
case AudioPacket::SAMPLING_RATE_44100:
@@ -18,4 +22,4 @@ bool AudioCapturer::IsValidSampleRate(int sample_rate) {
}
}
-} // namespace remoting
+} // namespace remoting
« no previous file with comments | « no previous file | remoting/host/audio_capturer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698