diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2015-07-07 00:06:56 +1200 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2015-07-07 00:06:56 +1200 |
commit | 9f82f60fd2c41572168dc3546a76aa53dff2029e (patch) | |
tree | f0c2be467192ba5ba6edd7f966947ddbad150359 /misc.h | |
parent | 9ed2b91c9de4b621e932e4f8added796e3a79dca (diff) | |
download | cue-bin-split-9f82f60fd2c41572168dc3546a76aa53dff2029e.tar.xz |
Shifted seconds conversion etc into own function, whitespace fixes
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -31,9 +31,13 @@ #include <stdio.h> #include <stdlib.h> +#include "cue-bin-split.h" + +/* MIN is surely defined in a standard header */ #define MIN(a, b) ((a < b)? a : b) +#define SEC_FROM_TS(mm, ss, ff) (mm*60 + ss + ((double)ff)/FRAMES_PER_SEC) -int get_stamp(int *m, int *s, int *f); +double get_sec(); void construct_out_name(char *buffer, size_t buffer_size, char* format, unsigned int track); void die_help(); |