summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/disk_writer.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/disk_writer.h')
-rw-r--r--libs/ardour/ardour/disk_writer.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/ardour/ardour/disk_writer.h b/libs/ardour/ardour/disk_writer.h
index 11d795c11a..115da0a2e5 100644
--- a/libs/ardour/ardour/disk_writer.h
+++ b/libs/ardour/ardour/disk_writer.h
@@ -133,6 +133,15 @@ public:
protected:
friend class Track;
+ struct WriterChannelInfo : public DiskIOProcessor::ChannelInfo {
+ WriterChannelInfo (samplecnt_t buffer_size)
+ : DiskIOProcessor::ChannelInfo::ChannelInfo (buffer_size)
+ {
+ resize (buffer_size);
+ }
+ void resize (samplecnt_t);
+ };
+
virtual XMLNode& state ();
int do_flush (RunContext context, bool force = false);
@@ -143,6 +152,8 @@ protected:
void setup_destructive_playlist ();
void use_destructive_playlist ();
+ int add_channel_to (boost::shared_ptr<ChannelList>, uint32_t how_many);
+
void engage_record_enable ();
void disengage_record_enable ();
void engage_record_safe ();