allow construction of Beats with a beat count that exceeds INT32_MAX
This commit is contained in:
parent
d6d9792dcb
commit
1be136adbd
@ -80,8 +80,8 @@ public:
|
||||
}
|
||||
|
||||
/** Create from an integer number of beats. */
|
||||
static Beats beats(int32_t beats) {
|
||||
return Beats(beats, 0);
|
||||
static Beats beats(int64_t beats) {
|
||||
return Beats (beats, 0);
|
||||
}
|
||||
|
||||
/** Create from ticks at the standard PPQN. */
|
||||
|
Loading…
Reference in New Issue
Block a user