summaryrefslogtreecommitdiff
path: root/src/lib/resampler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/resampler.cc')
-rw-r--r--src/lib/resampler.cc6
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);
+}