summaryrefslogtreecommitdiff
path: root/libs/ardour/audio_diskstream.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-04-04 16:41:20 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-04-04 16:41:20 +0000
commit040e016137ff15ebfa446f7e1de321d17be45dcd (patch)
tree4c7fda0e1dc3407b50a33166b7bb44b9453852d5 /libs/ardour/audio_diskstream.cc
parent1052bc39bf09922a26b2d308f9f06ce29989f71e (diff)
move some DEBUG::Graph traces to DEBUG::ProcessThreads ; remove Diskstream::rename_write_sources() which is no longer relevant (sources are not created on disk until needed); fixup calling Diskstream::non_realtime_input_change() when calling Diskstream::set_track() with a track that doesn't yet have any I/O (i.e. typical case)
git-svn-id: svn://localhost/ardour2/branches/3.0@9281 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audio_diskstream.cc')
-rw-r--r--libs/ardour/audio_diskstream.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/libs/ardour/audio_diskstream.cc b/libs/ardour/audio_diskstream.cc
index 335e263898..326efb21c3 100644
--- a/libs/ardour/audio_diskstream.cc
+++ b/libs/ardour/audio_diskstream.cc
@@ -1909,23 +1909,6 @@ AudioDiskstream::reset_write_sources (bool mark_write_complete, bool /*force*/)
}
}
-int
-AudioDiskstream::rename_write_sources ()
-{
- ChannelList::iterator chan;
- boost::shared_ptr<ChannelList> c = channels.reader();
- uint32_t n;
-
- for (chan = c->begin(), n = 0; chan != c->end(); ++chan, ++n) {
- if ((*chan)->write_source != 0) {
- (*chan)->write_source->set_source_name (_name.val(), destructive());
- /* XXX what to do if one of them fails ? */
- }
- }
-
- return 0;
-}
-
void
AudioDiskstream::set_block_size (pframes_t /*nframes*/)
{