Replace a bunch of potential crashes with graceful handling of the situation.
authorDavid Robillard <d@drobilla.net>
Sat, 19 Jan 2013 07:00:43 +0000 (07:00 +0000)
committerDavid Robillard <d@drobilla.net>
Sat, 19 Jan 2013 07:00:43 +0000 (07:00 +0000)
commitfc77ae0738565770abde1a25f650a035cf082af0
treef4edb7bcdcddf186fcf5cf4fb033e602580e4008
parentd251c68d7676a18ab9ed935e22558e2b18981b41
Replace a bunch of potential crashes with graceful handling of the situation.

We really need some kind of more sophisticated assert macro that can be
switched to non-fatal logging mode for release builds.  A log message, which is
often all that would happen, is a lot better than a trainwrecked performance...

git-svn-id: svn://localhost/ardour2/branches/3.0@13892 d708f5d6-7413-0410-9779-e7cbd77b26cf
gtk2_ardour/automation_streamview.cc
gtk2_ardour/automation_time_axis.cc
gtk2_ardour/midi_channel_selector.cc
gtk2_ardour/midi_region_view.cc
gtk2_ardour/midi_streamview.cc
gtk2_ardour/midi_time_axis.cc
libs/ardour/midi_diskstream.cc
libs/ardour/midi_port.cc
libs/ardour/midi_ring_buffer.cc
libs/ardour/midi_stretch.cc
libs/evoral/evoral/EventRingBuffer.hpp