From 147c6620cbf8ce62b06634c5248a3fafd837183a Mon Sep 17 00:00:00 2001 From: David Reid Date: Tue, 15 Jul 2025 11:43:57 +1000 Subject: [PATCH] API CHANGE: Remove `ma_backend`. This is from the old backend system and is no longer used. --- miniaudio.h | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/miniaudio.h b/miniaudio.h index c95b9ff7..8384f301 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -7254,28 +7254,6 @@ typedef struct } ma_IMMNotificationClient; #endif -/* Backend enums must be in priority order. */ -typedef enum -{ - ma_backend_wasapi, - ma_backend_dsound, - ma_backend_winmm, - ma_backend_coreaudio, - ma_backend_sndio, - ma_backend_audio4, - ma_backend_oss, - ma_backend_pulseaudio, - ma_backend_alsa, - ma_backend_jack, - ma_backend_aaudio, - ma_backend_opensl, - ma_backend_webaudio, - ma_backend_custom, /* <-- Custom backend, with callbacks defined by the context config. */ - ma_backend_null /* <-- Must always be the last item. Lowest priority, and used as the terminator for backend enumeration. */ -} ma_backend; - -#define MA_BACKEND_COUNT (ma_backend_null+1) - /* Device job thread. This is used by backends that require asynchronous processing of certain