summaryrefslogtreecommitdiff
path: root/libs/ardour/diskstream.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-11-27 17:42:09 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-11-27 17:42:09 +0000
commit979a61eb3f1729affe1b0ab4201749b5cde11f68 (patch)
tree9d65188b65ab2d1999b0bfe14315fd36575b333f /libs/ardour/diskstream.cc
parentf3a833e38e669d3194652ddba40fa10377ff750a (diff)
remove (or attempt to remove) requirement for holding process lock when changing connections
git-svn-id: svn://localhost/ardour2/branches/3.0@8110 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/diskstream.cc')
-rw-r--r--libs/ardour/diskstream.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/libs/ardour/diskstream.cc b/libs/ardour/diskstream.cc
index 908e1db5c8..5b3fe34870 100644
--- a/libs/ardour/diskstream.cc
+++ b/libs/ardour/diskstream.cc
@@ -194,10 +194,12 @@ Diskstream::handle_input_change (IOChange change, void * /*src*/)
{
Glib::Mutex::Lock lm (state_lock);
- if (!(input_change_pending.type & change.type)) {
- input_change_pending.type = IOChange::Type (input_change_pending.type | change.type);
- _session.request_input_change_handling ();
- }
+ if (change.type & IOChange::ConfigurationChanged) {
+ if (!(input_change_pending.type & change.type)) {
+ input_change_pending.type = IOChange::Type (input_change_pending.type | change.type);
+ _session.request_input_change_handling ();
+ }
+ }
}
void