summaryrefslogtreecommitdiff
path: root/libs/ardour/region.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-06-26 13:45:59 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-06-26 13:45:59 +0000
commit37978aa21437b9bb308efeb9828fbe4a06077cee (patch)
treef7b3b681e0e42c233ded6715ea824114d9e5c3ec /libs/ardour/region.cc
parentecb0cd5d119d28092a8f48e4521ac5eba197bb54 (diff)
lots of details relating to MIDI file management; try to ignore ALSA sequencer MIDI ports named "Midi-Through"
git-svn-id: svn://localhost/ardour2/branches/3.0@7305 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/region.cc')
-rw-r--r--libs/ardour/region.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc
index e620319633..0ae947063f 100644
--- a/libs/ardour/region.cc
+++ b/libs/ardour/region.cc
@@ -1381,6 +1381,7 @@ void
Region::set_master_sources (const SourceList& srcs)
{
for (SourceList::const_iterator i = _master_sources.begin (); i != _master_sources.end(); ++i) {
+ cerr << name() << " " << id() << " DEC M SMS\n";
(*i)->dec_use_count ();
}
@@ -1535,12 +1536,14 @@ void
Region::drop_sources ()
{
for (SourceList::const_iterator i = _sources.begin (); i != _sources.end(); ++i) {
+ cerr << name() << " " << id() << " DEC DS\n";
(*i)->dec_use_count ();
}
_sources.clear ();
for (SourceList::const_iterator i = _master_sources.begin (); i != _master_sources.end(); ++i) {
+ cerr << name() << " " << id() << " DEC MDS \n";
(*i)->dec_use_count ();
}