Use an assert to check that a panner is obtained, which

git-svn-id: svn://localhost/ardour2/branches/3.0@9836 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington
2011-07-11 12:57:06 +00:00
parent d314c96e33
commit 4ef2541e6e

View File

@@ -99,10 +99,7 @@ PannerShell::configure_io (ChanCount in, ChanCount out)
}
PannerInfo* pi = PannerManager::instance().select_panner (in, out);
if (pi == 0) {
abort ();
}
assert (pi);
boost::shared_ptr<Speakers> speakers = _session.get_speakers ();