summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-01-03 20:00:57 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-01-03 20:00:57 +0000
commitebbc8b3b6a6d77f705698aff36455c61ee07bb66 (patch)
treeac0c6276ba2c54f14a18d1dc50c051123c011731 /libs/ardour/session_state.cc
parentfd42bffae71ae2bb521ace2145f238a76d9cf764 (diff)
do proper install on x86_64 system, remove stupid debuggig code from panner, handle port registration error with its own error message
git-svn-id: svn://localhost/ardour2/trunk@1264 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index 0c2961c82a..b58d414ffd 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -313,6 +313,14 @@ Session::second_stage_init (bool new_session)
when_engine_running();
}
+ /* handle this one in a different way than all others, so that its clear what happened */
+
+ catch (AudioEngine::PortRegistrationFailure& err) {
+ error << _("Unable to create all required ports")
+ << endmsg;
+ return -1;
+ }
+
catch (...) {
return -1;
}