diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-04-19 00:34:03 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-04-19 00:34:03 +0000 |
| commit | 64ff57b866e19daa8ed16b08d0a8038f787948c1 (patch) | |
| tree | fa610410f081e568854a971ec02987b8328b8772 /src/lib/audio_ring_buffers.h | |
| parent | 5fc68cc97134b5d49479dadff05725124e56a513 (diff) | |
Hopefully better errors on large video/audio disagreements.
Diffstat (limited to 'src/lib/audio_ring_buffers.h')
| -rw-r--r-- | src/lib/audio_ring_buffers.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/audio_ring_buffers.h b/src/lib/audio_ring_buffers.h index ce0efd3e2..8d830ecf7 100644 --- a/src/lib/audio_ring_buffers.h +++ b/src/lib/audio_ring_buffers.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2016-2017 Carl Hetherington <cth@carlh.net> + Copyright (C) 2016-2019 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -35,6 +35,7 @@ public: void put (boost::shared_ptr<const AudioBuffers> data, DCPTime time, int frame_rate); boost::optional<DCPTime> get (float* out, int channels, int frames); + boost::optional<DCPTime> peek () const; void clear (); Frame size () const; |
