From 21fd76ef9a0c1856e5f91c394214e244265a0f86 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 29 Jul 2010 19:24:25 +0000 Subject: Fix startup of the mackie surface code. git-svn-id: svn://localhost/ardour2/branches/3.0@7520 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/midi++2/port.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libs/midi++2/port.cc') diff --git a/libs/midi++2/port.cc b/libs/midi++2/port.cc index 65cba24eb0..673cc259aa 100644 --- a/libs/midi++2/port.cc +++ b/libs/midi++2/port.cc @@ -54,6 +54,7 @@ Port::Port (string const & name, Flags flags, jack_client_t* jack_client) , input_fifo (1024) , _flags (flags) { + assert (jack_client); init (name, flags); } @@ -66,6 +67,8 @@ Port::Port (const XMLNode& node, jack_client_t* jack_client) , output_fifo (512) , input_fifo (1024) { + assert (jack_client); + Descriptor desc (node); init (desc.tag, desc.flags); -- cgit v1.2.3