diff options
| author | skal <pascal.massimino@gmail.com> | 2026-01-31 14:26:36 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-01-31 14:26:36 +0100 |
| commit | 213c99a2bb5a0061a2fae0533616f9547bfe0832 (patch) | |
| tree | 37bc76dc4cb7b99ab55e3d2be46131e37709f2d5 /src/audio | |
| parent | 757c8e3f8f66cb7bbd354df61477bac1a5bf4eac (diff) | |
fix: Resolve macOS build breakage and restore tools audio support
Updates gpu.cc to handle modern wgpu-native callback signatures (5 args) for macOS while maintaining Windows compatibility. Modifies audio.cc and CMakeLists.txt to ensure miniaudio encoding features are only stripped from the demo binary, not the tools (spectool/tests).
Diffstat (limited to 'src/audio')
| -rw-r--r-- | src/audio/audio.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/audio.cc b/src/audio/audio.cc index 61b6ff7..6249479 100644 --- a/src/audio/audio.cc +++ b/src/audio/audio.cc @@ -4,9 +4,9 @@ #include "audio.h" +#ifndef DEMO_BUILD_TOOLS #define MA_NO_FLAC #define MA_NO_ENCODING -#ifndef DEMO_BUILD_TOOLS #define MA_NO_MP3 #define MA_NO_WAV #endif |
