diff options
author | Robin Gareus <robin@gareus.org> | 2019-02-08 17:35:05 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-02-08 19:33:19 +0100 |
commit | b5587e5e433d42a9bcbbff16518bb2ef4c3ba9cb (patch) | |
tree | c9e66150242aa455df2ed4d309e3305c167f5a8b /libs/ardour/ardour | |
parent | a6e7abb7faebadf4329f05aec2dc75373e5739eb (diff) |
NO-OP: clarify internal API, prepare for overwrite queue
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/disk_reader.h | 4 | ||||
-rw-r--r-- | libs/ardour/ardour/track.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/ardour/disk_reader.h b/libs/ardour/ardour/disk_reader.h index 91fcf74d2f..e7f527b064 100644 --- a/libs/ardour/ardour/disk_reader.h +++ b/libs/ardour/ardour/disk_reader.h @@ -49,8 +49,8 @@ public: void run (BufferSet& /*bufs*/, samplepos_t /*start_sample*/, samplepos_t /*end_sample*/, double speed, pframes_t /*nframes*/, bool /*result_required*/); void realtime_handle_transport_stopped (); void realtime_locate (); - int overwrite_existing_buffers (); - void set_pending_overwrite (bool yn); + bool overwrite_existing_buffers (); + void set_pending_overwrite (); int set_state (const XMLNode&, int version); diff --git a/libs/ardour/ardour/track.h b/libs/ardour/ardour/track.h index e9d9a60380..f15f5bd329 100644 --- a/libs/ardour/ardour/track.h +++ b/libs/ardour/ardour/track.h @@ -135,13 +135,13 @@ public: float capture_buffer_load () const; int do_refill (); int do_flush (RunContext, bool force = false); - void set_pending_overwrite (bool); + void set_pending_overwrite (); int seek (samplepos_t, bool complete_refill = false); bool can_internal_playback_seek (samplecnt_t); void internal_playback_seek (samplecnt_t); void non_realtime_locate (samplepos_t); void realtime_handle_transport_stopped (); - int overwrite_existing_buffers (); + bool overwrite_existing_buffers (); samplecnt_t get_captured_samples (uint32_t n = 0) const; void transport_looped (samplepos_t); void transport_stopped_wallclock (struct tm &, time_t, bool); |