From c528d174e8e22e3cf57a6fe2400208d76c0bee07 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 29 Oct 2008 16:41:26 +0000 Subject: [PATCH] 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 --- libs/ardour/io.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);