mirror of
https://github.com/yawut/SDL.git
synced 2026-04-25 07:52:57 -05:00
WinRT: added a note to try removing some WinRT-specific code from SDL_xaudio2.c
This commit is contained in:
parent
b2fc5e5186
commit
65d8f317ca
|
|
@ -485,6 +485,10 @@ XAUDIO2_OpenDevice(_THIS, const char *devname, int iscapture)
|
|||
waveformat.cbSize = sizeof(waveformat);
|
||||
|
||||
#ifdef __WINRT__
|
||||
// DLudwig: for now, make XAudio2 do sample rate conversion, just to
|
||||
// get the loopwave test to work.
|
||||
//
|
||||
// TODO, WinRT: consider removing WinRT-specific source-voice creation code from SDL_xaudio2.c
|
||||
result = IXAudio2_CreateSourceVoice(ixa2, &source, &waveformat,
|
||||
0,
|
||||
1.0f, &callbacks, NULL, NULL);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user