|
Public Member Functions |
| | Units () |
Static Public Member Functions |
| static float | toframes (int64_t samples, int sample_rate, float framerate) |
| static int64_t | toframes_round (int64_t samples, int sample_rate, float framerate) |
| static double | fix_framerate (double value) |
| static double | atoframerate (char *text) |
| static void | punctuate (char *string) |
| static char * | format_to_separators (int time_format) |
| static int64_t | tosamples (float frames, int sample_rate, float framerate) |
| static char * | totext (char *text, int64_t samples, int time_format, int samplerate, float frame_rate=0, float frames_per_foot=0) |
| static char * | totext (char *text, double seconds, int time_format, int sample_rate=0, float frame_rate=0, float frames_per_foot=0) |
| static int64_t | fromtext (char *text, int samplerate, int time_format, float frame_rate, float frames_per_foot) |
| static double | text_to_seconds (char *text, int samplerate, int time_format, float frame_rate, float frames_per_foot) |
| static char * | print_time_format (int time_format, char *string) |
| static float | xy_to_polar (int x, int y) |
| static void | polar_to_xy (float angle, int radius, int &x, int &y) |
| static int64_t | round (double result) |
| static int64_t | to_int64 (double result) |
| static float | quantize10 (float value) |
| static float | quantize (float value, float precision) |
| static void * | int64_to_ptr (uint64_t value) |
| static uint64_t | ptr_to_int64 (void *ptr) |