Chromium Code Reviews| 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 |