diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-04-19 09:24:59 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-04-19 23:04:32 +0100 |
| commit | 0a2fe723109c6a8fbb61ea5721b5a475e4b480d0 (patch) | |
| tree | 513782d152de6976646e900b55c2665c4cd1e80e /src/lib/resampler.cc | |
| parent | 0dc26c2ec9aba5fd5f4ca281711fb8ac5a76612b (diff) | |
Various fixes to seeking with audio.
Diffstat (limited to 'src/lib/resampler.cc')
| -rw-r--r-- | src/lib/resampler.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/resampler.cc b/src/lib/resampler.cc index 1a0c6073d..4498dccb5 100644 --- a/src/lib/resampler.cc +++ b/src/lib/resampler.cc @@ -200,3 +200,9 @@ Resampler::flush () delete[] buffer; return make_pair (out, _next_out.get ()); } + +void +Resampler::reset () +{ + src_reset (_src); +} |
