support a grid of beats/64 and beats/128

git-svn-id: svn://localhost/ardour2/branches/3.0@11490 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-02-14 22:15:25 +00:00
parent 058715c525
commit ed62609e80
6 changed files with 68 additions and 2 deletions

View file

@ -1221,6 +1221,14 @@ Editor::compute_bbt_ruler_scale (framepos_t lower, framepos_t upper)
bbt_beat_subdivision = 32;
bbt_accent_modulo = 8;
break;
case SnapToBeatDiv64:
bbt_beat_subdivision = 64;
bbt_accent_modulo = 8;
break;
case SnapToBeatDiv128:
bbt_beat_subdivision = 128;
bbt_accent_modulo = 8;
break;
default:
bbt_beat_subdivision = 4;
break;