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

Unified Diff: remoting/host/audio_capturer_util.h

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
Index: remoting/host/audio_capturer_util.h
diff --git a/remoting/host/audio_capturer_util.h b/remoting/host/audio_capturer_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..688333c28c834485328fe7330049d3536078a309
--- /dev/null
+++ b/remoting/host/audio_capturer_util.h
@@ -0,0 +1,20 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef REMOTING_HOST_AUDIO_CAPTURER_UTIL_H_
+#define REMOTING_HOST_AUDIO_CAPTURER_UTIL_H_
+
+#include "base/memory/scoped_ptr.h"
+
+namespace remoting {
+
+class AudioPacket;
+
+bool IsValidSampleRate(int sample_rate);
Sergey Ulanov 2012/07/30 17:53:48 add some comments for both functions.
kxing 2012/07/30 20:21:36 Done.
+
+bool IsPacketOfSilence(const AudioPacket* packet);
+
+} // namespace remoting
+
+#endif // REMOTING_HOST_AUDIO_CAPTURER_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698