From 094b9db951dfd7310060eacb1cf2d67d0dccb75a Mon Sep 17 00:00:00 2001 From: David Reid Date: Sat, 21 Feb 2026 10:08:43 +1000 Subject: [PATCH] Audio: Stop setting capture config options. Since the device is being configured as a playback device, all capture config options are unused and therefore need to not be set. --- src/raudio.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/raudio.c b/src/raudio.c index 8322f1baf..cf6f1fa59 100644 --- a/src/raudio.c +++ b/src/raudio.c @@ -477,9 +477,6 @@ void InitAudioDevice(void) config.playback.pDeviceID = NULL; // NULL for the default playback AUDIO.System.device config.playback.format = AUDIO_DEVICE_FORMAT; config.playback.channels = AUDIO_DEVICE_CHANNELS; - config.capture.pDeviceID = NULL; // NULL for the default capture AUDIO.System.device - config.capture.format = ma_format_s16; - config.capture.channels = 1; config.sampleRate = AUDIO_DEVICE_SAMPLE_RATE; config.dataCallback = OnSendAudioDataToDevice; config.pUserData = NULL;