temporal: drop nused note_type_as_beats

The note_type_as_beats was the only temporal thing using hardcoded value
of 1920. It seems like it just should use the usual Ardour PPQN (aka
ticks_per_beat) ... which also has the value 1920.

It is however not used after d77db816de.
This commit is contained in:
Mads Kiilerich 2022-11-18 21:20:06 +01:00 committed by Paul Davis
parent 368f0aec44
commit 40bf4ce82d

View File

@ -220,7 +220,6 @@ class LIBTEMPORAL_API Tempo {
void set_note_types_per_minute (double npm);
int note_type () const { return _note_type; }
Beats note_type_as_beats () const { return Beats (0, (1920 * 4) / _note_type); }
superclock_t superclocks_per_note_type () const {
return _superclocks_per_note_type;