diff options
Diffstat (limited to 'src/lib/resampler.cc')
| -rw-r--r-- | src/lib/resampler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/resampler.cc b/src/lib/resampler.cc index 565fb69c2..2a4320bd8 100644 --- a/src/lib/resampler.cc +++ b/src/lib/resampler.cc @@ -42,6 +42,8 @@ Resampler::Resampler (int in, int out, int channels) input and output layouts are the same. */ + cout << "resamp for " << _channels << " " << _in_rate << " " << _out_rate << "\n"; + _swr_context = swr_alloc_set_opts ( 0, av_get_default_channel_layout (_channels), @@ -80,7 +82,6 @@ Resampler::run (shared_ptr<const AudioBuffers> in) return resampled; } -/* XXX: no-one calls this */ shared_ptr<const AudioBuffers> Resampler::flush () { |
