projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
finally get to the bottom of where NO_PLUGIN_STATE needs to be in order to be useful
[ardour.git]
/
libs
/
ardour
/
panner.cc
diff --git
a/libs/ardour/panner.cc
b/libs/ardour/panner.cc
index 6f3aec4646931007ebdbf4bf462b161de67f7460..c88fbe44f430e1a9f679dfcc84365d611e4e1417 100644
(file)
--- a/
libs/ardour/panner.cc
+++ b/
libs/ardour/panner.cc
@@
-28,6
+28,7
@@
using namespace std;
using namespace ARDOUR;
Panner::Panner (boost::shared_ptr<Pannable> p)
using namespace ARDOUR;
Panner::Panner (boost::shared_ptr<Pannable> p)
+ : _frozen (0)
{
// boost_debug_shared_ptr_mark_interesting (this, "panner");
_pannable = p;
{
// boost_debug_shared_ptr_mark_interesting (this, "panner");
_pannable = p;
@@
-118,3
+119,17
@@
Panner::set_state (XMLNode const &, int)
{
return 0;
}
{
return 0;
}
+
+void
+Panner::freeze ()
+{
+ _frozen++;
+}
+
+void
+Panner::thaw ()
+{
+ if (_frozen > 0.0) {
+ _frozen--;
+ }
+}