Index: media/base/sinc_resampler.cc |
diff --git a/media/base/sinc_resampler.cc b/media/base/sinc_resampler.cc |
index 9352fe3dd2f5895ed1aa9032f81d420c95fba5b2..44340ed3739a89bf79e4bb0d2fea7a5dcda3d033 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::kLookAheadSize = kBufferSize; |
+ |
SincResampler::SincResampler(double io_sample_rate_ratio, const ReadCB& read_cb) |
: io_sample_rate_ratio_(io_sample_rate_ratio), |
virtual_source_idx_(0), |