summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-10-29 16:41:26 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-10-29 16:41:26 +0000
commitc528d174e8e22e3cf57a6fe2400208d76c0bee07 (patch)
treeab2144a98de9e33afa7b80dac226f16beb289d64 /libs
parent53c2e47225f67b52d1c15df4814badaef50bcc3e (diff)
prevent crash when changing gain with transport stopped and panner bypassed
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4030 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/io.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc
index 592d87242e..04a7978ce5 100644
--- a/libs/ardour/io.cc
+++ b/libs/ardour/io.cc
@@ -2613,7 +2613,7 @@ IO::set_gain (gain_t val, void *src)
if (_session.transport_stopped()) {
_effective_gain = val;
- _gain = val;
+ // _gain = val;
}
gain_changed (src);