aboutsummaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/misc.h b/misc.h
index a21d626..8175758 100644
--- a/misc.h
+++ b/misc.h
@@ -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();