projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4818621
)
add debug-message to track down missing Sources
author
Robin Gareus
<robin@gareus.org>
Wed, 5 Feb 2014 17:49:32 +0000
(18:49 +0100)
committer
Robin Gareus
<robin@gareus.org>
Wed, 5 Feb 2014 17:49:32 +0000
(18:49 +0100)
libs/ardour/session_state.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session_state.cc
b/libs/ardour/session_state.cc
index f3ad9d66dd094f5a58785a06e83e71351c06b4d9..1728c112446f5479db02a047a3cf5d32f2346c9c 100644
(file)
--- a/
libs/ardour/session_state.cc
+++ b/
libs/ardour/session_state.cc
@@
-979,9
+979,19
@@
Session::state (bool full_state)
if (!fs->destructive()) {
if (fs->empty() && !fs->used()) {
+#ifndef NDEBUG
+ cerr << "DEBUG: source '"
+ << fs->name() << "' id: "
+ << fs->id() << " is marked as empty and unused and is not saved.\n";
+#endif
continue;
}
}
+#ifndef NDEBUG
+ cerr << "DEBUG: saving source '"
+ << fs->name() << "' id: "
+ << fs->id() << ".\n";
+#endif
child->add_child_nocopy (siter->second->get_state());
}