From: Andrew Gundersen Date: Thu, 28 Apr 2022 15:30:26 +0000 (-0500) Subject: fixed fs, updated README X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=e0456a3f895321fe8472f5936a38a8087eac97fb;p=nodeaudio fixed fs, updated README --- diff --git a/README.md b/README.md index 9f9c707..f58a6a2 100644 --- a/README.md +++ b/README.md @@ -26,4 +26,4 @@ As of writing, publishing will fail if there is already a package in the registr I was unable to figure out how to publish to the private GitLab repo using npm (400 Bad Request). This may just be a bug in npm. For real, this threw me for a loop. I had to switch to Yarn for this reason (v1.22.17). Pulling with npm works fine though (for other repos). ### TODO -Sign on build \ No newline at end of file +Sign on build diff --git a/src/na_utils.c b/src/na_utils.c index aa193ca..3ebfff8 100644 --- a/src/na_utils.c +++ b/src/na_utils.c @@ -30,9 +30,11 @@ double setParameters( int type, parameters->suggestedLatency = deviceInfo->defaultHighInputLatency; printf(" Device: %s\n", deviceInfo->name); - printf(" SampleRate: %i\n", (int) deviceInfo->defaultSampleRate); + // printf(" SampleRate: %i\n", (int) deviceInfo->defaultSampleRate); + printf(" SampleRate: %i\n", 16000); - return deviceInfo->defaultSampleRate; + /* return deviceInfo->defaultSampleRate; */ + return 16000; } ring_buffer_size_t rbs_min(ring_buffer_size_t a, ring_buffer_size_t b)