From 35fe39b0e0288c25be17cfbb3188d96e3b55d7c8 Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Sun, 2 Jun 2024 23:29:29 +0300 Subject: [PATCH] template.c: merge exact, neighbor conditional compilation --- src/template.c | 3 +++ 1 file changed, 3 insertions(+) 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"