mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 04:09:29 +01:00
move need-butler from DiskReader to DiskIOProcessor
This commit is contained in:
parent
bcd7a21510
commit
c6dd3045d1
4 changed files with 4 additions and 4 deletions
|
|
@ -92,6 +92,8 @@ class LIBARDOUR_API DiskIOProcessor : public Processor
|
|||
int add_channel (uint32_t how_many);
|
||||
int remove_channel (uint32_t how_many);
|
||||
|
||||
bool need_butler() const { return _need_butler; }
|
||||
|
||||
protected:
|
||||
friend class Auditioner;
|
||||
virtual int seek (framepos_t which_sample, bool complete_refill = false) = 0;
|
||||
|
|
@ -112,6 +114,7 @@ class LIBARDOUR_API DiskIOProcessor : public Processor
|
|||
bool in_set_state;
|
||||
framecnt_t wrap_buffer_size;
|
||||
framecnt_t speed_buffer_size;
|
||||
bool _need_butler;
|
||||
|
||||
Glib::Threads::Mutex state_lock;
|
||||
|
||||
|
|
|
|||
|
|
@ -106,8 +106,6 @@ class LIBARDOUR_API DiskReader : public DiskIOProcessor
|
|||
int can_internal_playback_seek (framecnt_t distance);
|
||||
int seek (framepos_t frame, bool complete_refill = false);
|
||||
|
||||
bool need_butler() const { return _need_butler; }
|
||||
|
||||
PBD::Signal0<void> Underrun;
|
||||
|
||||
protected:
|
||||
|
|
@ -137,7 +135,6 @@ class LIBARDOUR_API DiskReader : public DiskIOProcessor
|
|||
framepos_t file_frame;
|
||||
framepos_t playback_sample;
|
||||
MonitorChoice _monitoring_choice;
|
||||
bool _need_butler;
|
||||
|
||||
PBD::ScopedConnectionList playlist_connections;
|
||||
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ DiskIOProcessor::DiskIOProcessor (Session& s, string const & str, Flag f)
|
|||
, in_set_state (false)
|
||||
, wrap_buffer_size (0)
|
||||
, speed_buffer_size (0)
|
||||
, _need_butler (false)
|
||||
, channels (new ChannelList)
|
||||
{
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ DiskReader::DiskReader (Session& s, string const & str, DiskIOProcessor::Flag f)
|
|||
, file_frame (0)
|
||||
, playback_sample (0)
|
||||
, _monitoring_choice (MonitorDisk)
|
||||
, _need_butler (false)
|
||||
, _gui_feed_buffer (AudioEngine::instance()->raw_buffer_size (DataType::MIDI))
|
||||
, _frames_written_to_ringbuffer (0)
|
||||
, _frames_read_from_ringbuffer (0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue