summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-08-06 01:04:03 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-08-06 01:04:03 +0000
commit1ad76a6c10b9bfc74b22536b8bb86a851263b9d4 (patch)
tree40947ce514d1896a3e4ee82214332b36221204c5 /libs/ardour/session_state.cc
parente62f14e707e15df962952f571dec1179b1c6976c (diff)
fix resetting MMC send + recv ID
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2252 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index 1f8a4e1fbe..e39ebf72f2 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -3169,15 +3169,11 @@ Session::config_changed (const char* parameter_name)
} else if (PARAM_IS ("mmc-device-id") || PARAM_IS ("mmc-receive-device-id")) {
- if (mmc) {
- mmc->set_receive_device_id (Config->get_mmc_receive_device_id());
- }
+ set_mmc_receive_device_id (Config->get_mmc_receive_device_id());
} else if (PARAM_IS ("mmc-send-device-id")) {
- if (mmc) {
- mmc->set_send_device_id (Config->get_mmc_send_device_id());
- }
+ set_mmc_send_device_id (Config->get_mmc_send_device_id());
} else if (PARAM_IS ("midi-control")) {