]> Repos - nodeaudio/commitdiff
fixed fs, updated README
authorAndrew Gundersen <gundersena@Andrews-MacBook-Pro.local>
Thu, 28 Apr 2022 15:30:26 +0000 (10:30 -0500)
committerAndrew Gundersen <gundersena@Andrews-MacBook-Pro.local>
Thu, 28 Apr 2022 15:30:26 +0000 (10:30 -0500)
README.md
src/na_utils.c

index 9f9c707b308a26a1b9d877586c6a55fbbf78e18c..f58a6a20da039953cb0d7a450f8eca486cdded23 100644 (file)
--- 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
index aa193ca0234a9a02f4bb3e61f057d21b1929f2d7..3ebfff8ade8792776c6d69a95a4b4287efc7b2ce 100644 (file)
@@ -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)