Set new (recorded) MIDI source length to length of entire capture (instead of length...
commit892ad8b62d3da6c3601785b4fd045e0eb123edf0
authordrobilla <drobilla@d708f5d6-7413-0410-9779-e7cbd77b26cf>
Tue, 21 Dec 2010 00:04:58 +0000 (21 00:04 +0000)
committerdrobilla <drobilla@d708f5d6-7413-0410-9779-e7cbd77b26cf>
Tue, 21 Dec 2010 00:04:58 +0000 (21 00:04 +0000)
tree41df0c4c841d6034c44172da8a58e043e1cecf81
parent8605a713b39c76384cb0c241488dbc1d8cb1b917
Set new (recorded) MIDI source length to length of entire capture (instead of length from start to last actual recorded event).
Precisely set length_beats of newly captured MIDI regions to source length in beats (no conversion).

git-svn-id: http://subversion.ardour.org/svn/ardour2/ardour2/branches/3.0@8317 d708f5d6-7413-0410-9779-e7cbd77b26cf
libs/ardour/ardour/midi_source.h
libs/ardour/midi_diskstream.cc
libs/ardour/midi_region.cc