WinRT: fixed XAudio2 crash bug + enabled XAudio2 backend
This commit is contained in:
parent
0d14e78972
commit
0b7cfac19e
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue