Increase default precision

We may want to use the BPM for loops or other musical operations, not
just sorting the music collection. So extra precision will be beneficial.
This commit is contained in:
Mark Hills 2011-12-18 00:18:21 +00:00
parent cecc241463
commit 4597d2f89c
1 changed files with 1 additions and 1 deletions

2
bpm.c
View File

@ -184,7 +184,7 @@ int main(int argc, char *argv[])
size_t len = 0, buf = 0;
off_t n = 0;
double bpm, v = 0.0;
const char *format = "%0.1f";
const char *format = "%0.3f";
FILE *fdiff = NULL, *fnrg = NULL;
for (;;) {