aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2015-07-06 22:23:28 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2015-07-06 22:23:28 +1200
commitb4968b46800ca1ee6064feea29754d1eaa04511b (patch)
treea5e76fc8ab59311f6462aa1bffdfdf01e2348999
parent131fa6846bb1dfec6764189791805d0ece5b9265 (diff)
downloadcue-bin-split-b4968b46800ca1ee6064feea29754d1eaa04511b.tar.xz
Actual track filename is output rather than "Track n"
-rw-r--r--cue-bin-split.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/cue-bin-split.c b/cue-bin-split.c
index ff384f2..12d8e3a 100644
--- a/cue-bin-split.c
+++ b/cue-bin-split.c
@@ -128,8 +128,6 @@ int main(int argc, char **argv)
perror("fopen");
return EXIT_FAILURE;
}
- printf("Opened input file '%s'\n", in_fname);
-
index = 0;
items = get_stamp(&mm, &ss, &ff); /* FIXME doesn't check return value */
@@ -147,7 +145,6 @@ int main(int argc, char **argv)
return EXIT_FAILURE;
}
-
/* Open output file */
if ((fout = fopen(out_fname, "w")) == NULL)
{
@@ -157,7 +154,6 @@ int main(int argc, char **argv)
return EXIT_FAILURE;
}
-
/* EOF means this is the last track; run it to end of input file */
if (items == EOF)
{
@@ -171,7 +167,7 @@ int main(int argc, char **argv)
}
finish_sec = (double)mm*60 + (double)ss + ((double)ff)/75;
}
- fprintf(stderr, "Track %d starts %f s, finishes %f s\n", index, start_sec, finish_sec);
+ printf("%s starts %f s, finishes %f s\n", out_fname, start_sec, finish_sec);
start_sample = start_sec * rate * channels;
finish_sample = finish_sec * rate * channels;