[WASAPI] fixed: return the right channel layout
authorwsoltys <wiso@no.way>
Thu, 15 Aug 2013 17:41:12 +0000 (19:41 +0200)
committerRainer Hochecker <fernetmenta@online.de>
Thu, 22 Aug 2013 10:57:59 +0000 (12:57 +0200)
xbmc/cores/AudioEngine/Sinks/AESinkWASAPI.cpp

index a49e86d..e4022e3 100644 (file)
@@ -1150,6 +1150,7 @@ bool CAESinkWASAPI::InitializeExclusive(AEAudioFormat &format)
 initialize:
 
   AEChannelsFromSpeakerMask(wfxex.dwChannelMask);
+  format.m_channelLayout = m_channelLayout;
 
   /* When the stream is raw, the values in the format structure are set to the link    */
   /* parameters, so store the encoded stream values here for the IsCompatible function */