Diff of /branches/AudioEngine/xbmc/cores/AudioEngine/Sinks/AESinkWASAPI.cpp [r35724] .. [r35725] Maximize Restore

  Switch to side-by-side view

--- a/branches/AudioEngine/xbmc/cores/AudioEngine/Sinks/AESinkWASAPI.cpp
+++ b/branches/AudioEngine/xbmc/cores/AudioEngine/Sinks/AESinkWASAPI.cpp
@@ -588,7 +588,12 @@
 
   AEChannelsFromSpeakerMask(wfxex.dwChannelMask);
 
-  if(wfxex.SubFormat == KSDATAFORMAT_SUBTYPE_PCM)
+  if(format.m_dataFormat == AE_FMT_RAW)
+  {
+    format.m_dataFormat = AE_FMT_S16NE;
+    format.m_channelCount = 2;
+  }
+  else if(wfxex.SubFormat == KSDATAFORMAT_SUBTYPE_PCM)
   {
     if(wfxex.Format.wBitsPerSample == 32)
     {