diff --git a/libs/surfaces/mackie/surface.cc b/libs/surfaces/mackie/surface.cc index f11431a069..e55dad18e3 100644 --- a/libs/surfaces/mackie/surface.cc +++ b/libs/surfaces/mackie/surface.cc @@ -239,6 +239,9 @@ Surface::master_gain_changed () } boost::shared_ptr ac = _master_fader->control(); + if (!ac) { + return; + } float normalized_position = ac->internal_to_interface (ac->get_value()); if (normalized_position == _last_master_gain_written) {