Fixed the bytePerSample size, resulting in functional audio again
@@ -54,7 +54,7 @@ typedef struct AUDIO_ENGINE_t {
} AUDIO_ENGINE;
const uint16_t channels = 2;
-const uint16_t bytesPerSample = 2 * 2 /* channels */;
+const uint16_t bytesPerSample = sizeof(float) * 2 /* channels */;
internal void
AUDIO_ENGINE_capture(WrenVM* vm) {
