diff options
Diffstat (limited to 'src/lib/resampler.cc')
| -rw-r--r-- | src/lib/resampler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/resampler.cc b/src/lib/resampler.cc index d08e7bc38..1a0c6073d 100644 --- a/src/lib/resampler.cc +++ b/src/lib/resampler.cc @@ -160,7 +160,7 @@ Resampler::run (shared_ptr<const AudioBuffers> in, Frame frame) return make_pair (resampled, out_frame); } -shared_ptr<const AudioBuffers> +pair<shared_ptr<const AudioBuffers>, Frame> Resampler::flush () { shared_ptr<AudioBuffers> out (new AudioBuffers (_channels, 0)); @@ -198,5 +198,5 @@ Resampler::flush () out->set_frames (out_offset); delete[] buffer; - return out; + return make_pair (out, _next_out.get ()); } |
