Index: remoting/host/audio_capturer.cc |
diff --git a/remoting/host/audio_capturer.cc b/remoting/host/audio_capturer.cc |
index 8828475de5f1be97c1334da6b4bd8310757b023e..65b4fcb483449e6390dddb2344f72414234cc352 100644 |
--- a/remoting/host/audio_capturer.cc |
+++ b/remoting/host/audio_capturer.cc |
@@ -4,10 +4,14 @@ |
#include "remoting/host/audio_capturer.h" |
+#include <stdlib.h> |
Sergey Ulanov
2012/07/31 20:16:32
nit: do we still need this header?
kxing
2012/07/31 20:44:11
Done.
|
+ |
+#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 +22,4 @@ bool AudioCapturer::IsValidSampleRate(int sample_rate) { |
} |
} |
-} // namespace remoting |
+} // namespace remoting |