summaryrefslogtreecommitdiff
path: root/libs/ardour/export_timespan.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/export_timespan.cc')
-rw-r--r--libs/ardour/export_timespan.cc6
1 files changed, 3 insertions, 3 deletions
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);
}