Index: media/base/sinc_resampler.cc |
diff --git a/media/base/sinc_resampler.cc b/media/base/sinc_resampler.cc |
index 9352fe3dd2f5895ed1aa9032f81d420c95fba5b2..d836fc7cbcc862c3dc9c022fab8355df8375a588 100644 |
--- a/media/base/sinc_resampler.cc |
+++ b/media/base/sinc_resampler.cc |
@@ -52,6 +52,8 @@ |
namespace media { |
+namespace { |
+ |
enum { |
// The kernel size can be adjusted for quality (higher is better) at the |
// expense of performance. Must be a multiple of 32. |
@@ -73,6 +75,10 @@ enum { |
kBufferSize = kBlockSize + kKernelSize |
}; |
+} // namespace |
+ |
+const int SincResampler::kMaximumLookAheadSize = kBufferSize; |
+ |
SincResampler::SincResampler(double io_sample_rate_ratio, const ReadCB& read_cb) |
: io_sample_rate_ratio_(io_sample_rate_ratio), |
virtual_source_idx_(0), |