ソースを参照

Reduce memory usage for testing

Alex Perez 2 年 前
コミット
1030dad03a
1 ファイル変更3 行追加2 行削除
  1. 3 2
      lib/ZuluSCSI_platform_RP2040/audio.h

+ 3 - 2
lib/ZuluSCSI_platform_RP2040/audio.h

@@ -26,7 +26,8 @@
 
 // size of the two audio sample buffers, in bytes
 // these must be divisible by 1024
-#define AUDIO_BUFFER_SIZE 8192 // ~46.44ms
+// #define AUDIO_BUFFER_SIZE 8192 // ~46.44ms
+#define AUDIO_BUFFER_SIZE 6144 // reduce memory usage
 
 /**
  * Handler for DMA interrupts
@@ -59,4 +60,4 @@ void audio_setup();
  */
 void audio_poll();
 
-#endif // ENABLE_AUDIO_OUTPUT
+#endif // ENABLE_AUDIO_OUTPUT