Chrono: add SignedSongTime::FromS(unsigned)
This commit is contained in:
parent
3ac1475262
commit
9fcaff749f
@ -125,6 +125,10 @@ public:
|
||||
return SignedSongTime(rep(s) * 1000);
|
||||
}
|
||||
|
||||
static constexpr SignedSongTime FromS(unsigned s) {
|
||||
return SignedSongTime(rep(s) * 1000);
|
||||
}
|
||||
|
||||
static constexpr SignedSongTime FromS(float s) {
|
||||
return SignedSongTime(rep(s * 1000));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user