diff --git a/src/template.c b/src/template.c index 025b2f3..2cc0cea 100644 --- a/src/template.c +++ b/src/template.c @@ -162,6 +162,9 @@ main(void) puts(":: C bytebeat generator: runtime unit"); fflush(stdout); + const uintmax_t seconds = LENGTH / SAMPLE_RATE, + samples = LENGTH % SAMPLE_RATE; + printf( "\n" "Sample rate: " INT2STR(SAMPLE_RATE) " Hz\n"