A type of time stamp. More...
#include <TimeStamp.hpp>
Public Types | |
| enum | Type { FRAMES, BEATS, SECONDS } | 
Public Member Functions | |
| TimeUnit (Type type, uint32_t ppt) | |
| ppt (parts per tick) is the sample rate for FRAMES, PPQN for BEATS, and ignored for SECONDS.  | |
| Type | type () const | 
| uint32_t | ppt () const | 
| bool | operator== (const TimeUnit &rhs) const | 
| bool | operator!= (const TimeUnit &rhs) const | 
Static Public Member Functions | |
| static TimeUnit | frames (uint32_t srate) | 
| static TimeUnit | beats (uint32_t ppqn) | 
| static TimeUnit | seconds () | 
A type of time stamp.
 1.7.1