mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Fix some errors with the SDL backend.
This commit is contained in:
@@ -619,9 +619,9 @@ static ma_device_backend_vtable ma_gDeviceBackendVTable_SDL =
|
||||
NULL /* onDeviceGetInfo */
|
||||
};
|
||||
|
||||
MA_API const ma_device_backend_vtable* MA_DEVICE_BACKEND_VTABLE_SDL = &ma_gDeviceBackendVTable_SDL;
|
||||
const ma_device_backend_vtable* MA_DEVICE_BACKEND_VTABLE_SDL = &ma_gDeviceBackendVTable_SDL;
|
||||
#else
|
||||
MA_API const ma_device_backend_vtable* MA_DEVICE_BACKEND_VTABLE_SDL = NULL;
|
||||
const ma_device_backend_vtable* MA_DEVICE_BACKEND_VTABLE_SDL = NULL;
|
||||
#endif /* MA_HAS_SDL */
|
||||
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ and device configs.
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
MA_API const ma_device_backend_vtable* MA_DEVICE_BACKEND_VTABLE_SDL;
|
||||
extern const ma_device_backend_vtable* MA_DEVICE_BACKEND_VTABLE_SDL;
|
||||
|
||||
|
||||
typedef struct
|
||||
|
||||
Reference in New Issue
Block a user