1.1 --- a/src/audio/xaudio2/SDL_xaudio2_winrthelpers.cpp Sat Nov 24 11:17:23 2012 -0500
1.2 +++ b/src/audio/xaudio2/SDL_xaudio2_winrthelpers.cpp Sat Nov 24 11:19:06 2012 -0500
1.3 @@ -8,6 +8,7 @@
1.4
1.5 HRESULT IXAudio2_GetDeviceCount(IXAudio2 * ixa2, UINT32 * devcount)
1.6 {
1.7 + // TODO, WinRT: make xaudio2 device enumeration only happen once, and in the background
1.8 auto operation = DeviceInformation::FindAllAsync(DeviceClass::AudioRender);
1.9 while (operation->Status != Windows::Foundation::AsyncStatus::Completed)
1.10 {