summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/audio/backend/miniaudio_backend.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/backend/miniaudio_backend.cc b/src/audio/backend/miniaudio_backend.cc
index ac473b4..8c5ce4a 100644
--- a/src/audio/backend/miniaudio_backend.cc
+++ b/src/audio/backend/miniaudio_backend.cc
@@ -199,8 +199,8 @@ void MiniaudioBackend::init() {
// Solution 1: Force OS-level sample rate to 32kHz to avoid resampling
config.coreaudio.allowNominalSampleRateChange = MA_TRUE;
- // Solution 2: Use conservative performance profile for larger buffers
- config.performanceProfile = ma_performance_profile_conservative;
+ // Solution 2: Use low-latency performance profile for regular callbacks
+ config.performanceProfile = ma_performance_profile_low_latency;
// Let Core Audio choose the period size based on conservative profile
config.periodSizeInFrames = 0; // 0 = let backend decide