Fix crash when changing automation mode for MIDI track control automation.
authorDavid Robillard <d@drobilla.net>
Sun, 31 Aug 2014 22:52:37 +0000 (18:52 -0400)
committerDavid Robillard <d@drobilla.net>
Sun, 31 Aug 2014 22:57:22 +0000 (18:57 -0400)
commit34c1465cf9645fce4e05299f6e5a2e7af19a0d3e
tree112bed277ad89ebeb0e517e72e668d250a23e862
parentb012f2cd1825d2e25e706c35a61b8fbd0ee1af41
Fix crash when changing automation mode for MIDI track control automation.

Also some work towards tolerating automation controls with no automation list,
towards actually doing something for these cases, though not required just to
fix this crash (MidiTrack::set_parameter_automation_state() avoids those
paths).
libs/ardour/ardour/midi_track.h
libs/ardour/automatable.cc
libs/ardour/automation_control.cc
libs/ardour/midi_track.cc
libs/evoral/src/ControlSet.cpp