Skip to content

Commit

Permalink
Chrono: add FloatDuration
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Sep 21, 2018
1 parent 39542de commit d1bcd98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Chrono.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include <utility>
#include <cstdint>

using FloatDuration = std::chrono::duration<double>;

/**
* A time stamp within a song. Granularity is 1 millisecond and the
* maximum value is about 49 days.
Expand Down

0 comments on commit d1bcd98

Please sign in to comment.