Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
WinRT: added a note to try removing some WinRT-specific code from SDL…
Browse files Browse the repository at this point in the history
…_xaudio2.c
  • Loading branch information
DavidLudwig committed Dec 30, 2012
1 parent 934a085 commit a991e2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/audio/xaudio2/SDL_xaudio2.c
Expand Up @@ -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);
Expand Down

0 comments on commit a991e2f

Please sign in to comment.