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_ |