mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 08:44:04 +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 */
|
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
|
#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 */
|
#endif /* MA_HAS_SDL */
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ and device configs.
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#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
|
typedef struct
|
||||||
|
|||||||
Reference in New Issue
Block a user