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

Unified Diff: remoting/host/audio_capturer.h

Issue 10818010: Added support for multiple sampling rates on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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.cc » ('j') | remoting/host/audio_capturer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/audio_capturer.h
diff --git a/remoting/host/audio_capturer.h b/remoting/host/audio_capturer.h
index 87fa8ab7875f744ce98dcc2ca3d5dece9d3c6245..eb1b28dd088eed8c2a2a5dd3d7d5ca0ac4d06876 100644
--- a/remoting/host/audio_capturer.h
+++ b/remoting/host/audio_capturer.h
@@ -7,10 +7,11 @@
#include "base/callback.h"
#include "base/memory/scoped_ptr.h"
-#include "remoting/proto/audio.pb.h"
namespace remoting {
+class AudioPacket;
+
class AudioCapturer {
public:
typedef base::Callback<void(scoped_ptr<AudioPacket> packet)>
@@ -29,6 +30,8 @@ class AudioCapturer {
virtual void Stop() = 0;
// Returns true if the audio capturer is running.
virtual bool IsRunning() = 0;
+
+ static bool IsValidSampleRate(int sample_rate);
Wez 2012/07/25 09:23:48 Does it make sense for this to be a static? Won't
kxing 2012/07/26 22:47:17 It represents the rates the current client impleme
};
} // namespace remoting
« no previous file with comments | « no previous file | remoting/host/audio_capturer.cc » ('j') | remoting/host/audio_capturer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698