mirror of
https://github.com/yawut/SDL.git
synced 2026-09-07 16:45:57 -05:00
WinRT: fixed XAudio2 crash bug + enabled XAudio2 backend
This commit is contained in:
@@ -135,7 +135,7 @@ typedef unsigned int uintptr_t;
|
||||
#define HAVE_SQRT 1
|
||||
|
||||
/* Enable various audio drivers */
|
||||
//#define SDL_AUDIO_DRIVER_XAUDIO2 1 /* Disabled pending work to fix quality + stability issues */
|
||||
#define SDL_AUDIO_DRIVER_XAUDIO2 1
|
||||
#define SDL_AUDIO_DRIVER_DISK 1
|
||||
#define SDL_AUDIO_DRIVER_DUMMY 1
|
||||
|
||||
|
||||
@@ -192,7 +192,7 @@ public:
|
||||
VoiceCBOnBufferEnd(pBufferContext);
|
||||
}
|
||||
STDMETHOD_(void, OnBufferStart)(void *pBufferContext) {
|
||||
VoiceCBOnBufferEnd(pBufferContext);
|
||||
VoiceCBOnBufferStart(pBufferContext);
|
||||
}
|
||||
STDMETHOD_(void, OnLoopEnd)(void *pBufferContext) {
|
||||
VoiceCBOnLoopEnd(pBufferContext);
|
||||
|
||||
Reference in New Issue
Block a user