use constant RATE for clarity

This commit is contained in:
Ambrose Li
2024-05-14 04:25:10 -04:00
parent 56de841f45
commit 47f893ba2a
+1 -1
View File
@@ -41,7 +41,7 @@
#define RATE 44100
// Four seconds buffer -- should be plenty
#define buffer_allocation 44100 * 4 * 2 * 2
#define buffer_allocation RATE * 4 * 2 * 2
static pthread_mutex_t buffer_mutex = PTHREAD_MUTEX_INITIALIZER;