diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-02-21 21:42:44 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-04-19 23:04:32 +0100 |
| commit | 89aa9d4ba69e471949f791cdafe4ae20cea554d2 (patch) | |
| tree | a8260555268d392292775a2851d8780e5612091b /src/lib/resampler.h | |
| parent | 7db99ef207c68910ee96a3e806c9832e8f90b219 (diff) | |
Various fixes to push audio vaguely in the right direction.
Diffstat (limited to 'src/lib/resampler.h')
| -rw-r--r-- | src/lib/resampler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/resampler.h b/src/lib/resampler.h index afc28aefd..359598b12 100644 --- a/src/lib/resampler.h +++ b/src/lib/resampler.h @@ -31,7 +31,7 @@ public: Resampler (int, int, int); ~Resampler (); - boost::shared_ptr<const AudioBuffers> run (boost::shared_ptr<const AudioBuffers>); + std::pair<boost::shared_ptr<const AudioBuffers>, Frame> run (boost::shared_ptr<const AudioBuffers>, Frame); boost::shared_ptr<const AudioBuffers> flush (); void set_fast (); @@ -40,4 +40,6 @@ private: int _in_rate; int _out_rate; int _channels; + boost::optional<Frame> _next_in; + boost::optional<Frame> _next_out; }; |
