mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
allow construction of Beats with a beat count that exceeds INT32_MAX
This commit is contained in:
parent
d6d9792dcb
commit
1be136adbd
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue