Only calculate length_beats from length (in frames) if length property (in frames...
authorDavid Robillard <d@drobilla.net>
Tue, 21 Dec 2010 00:53:18 +0000 (00:53 +0000)
committerDavid Robillard <d@drobilla.net>
Tue, 21 Dec 2010 00:53:18 +0000 (00:53 +0000)
commit71986da212b641b53c4583d0dca02cc87c758291
treed68378818beaef8e1eb6caf144d38c6549e73dd8
parent4e62adfe1a8e7b8158204ee6c0d1fe97c3fdca04
Only calculate length_beats from length (in frames) if length property (in frames) is given, but length_beats property is not.

git-svn-id: svn://localhost/ardour2/branches/3.0@8319 d708f5d6-7413-0410-9779-e7cbd77b26cf
libs/ardour/ardour/midi_region.h
libs/ardour/midi_diskstream.cc
libs/ardour/midi_region.cc