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

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: Fixed includes 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') | remoting/host/audio_capturer_win.cc » ('J')
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..7b4e6f13c3a041af9c9d9b2ebbdc3aa8e1d463dd 100644
--- a/remoting/host/audio_capturer.cc
+++ b/remoting/host/audio_capturer.cc
@@ -4,10 +4,12 @@
#include "remoting/host/audio_capturer.h"
+#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 +20,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') | remoting/host/audio_capturer_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698