From 98389f7da420ee205f6827b7df4db3ea0802f751 Mon Sep 17 00:00:00 2001 From: Sakari Bergen Date: Sat, 11 Oct 2008 10:14:51 +0000 Subject: Region export dialog: Make export channel and -selector polymorphic, add the region related classes and a dialog specialization git-svn-id: svn://localhost/ardour2/branches/3.0@3915 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/export_timespan.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/ardour/export_timespan.cc') diff --git a/libs/ardour/export_timespan.cc b/libs/ardour/export_timespan.cc index d6996a5a48..4eb5b5a475 100644 --- a/libs/ardour/export_timespan.cc +++ b/libs/ardour/export_timespan.cc @@ -42,7 +42,7 @@ ExportTimespan::~ExportTimespan () } void -ExportTimespan::register_channel (ExportChannel const & channel) +ExportTimespan::register_channel (ExportChannelPtr channel) { TempFilePtr ptr (new ExportTempFile (1, frame_rate)); ChannelFilePair pair (channel, ptr); @@ -58,7 +58,7 @@ ExportTimespan::rewind () } nframes_t -ExportTimespan::get_data (float * data, nframes_t frames, ExportChannel const & channel) +ExportTimespan::get_data (float * data, nframes_t frames, ExportChannelPtr channel) { TempFileMap::iterator it = filemap.find (channel); if (it == filemap.end()) { @@ -100,7 +100,7 @@ ExportTimespan::process (nframes_t frames) float * data = new float[frames_to_read]; for (TempFileMap::iterator it = filemap.begin(); it != filemap.end(); ++it) { - it->first.read_ports (data, frames_to_read); + it->first->read (data, frames_to_read); it->second->write (data, frames_to_read); } -- cgit v1.2.3