Skip to content
This repository
Browse code

[droid] fixed, return the channels we can do, not what was asked for

  • Loading branch information...
commit db89de3492230aa27b3ab1a45cf5baacf06aab10 1 parent 2047a9d
authored
2  xbmc/cores/AudioEngine/Sinks/AESinkAUDIOTRACK.cpp
@@ -115,7 +115,7 @@ bool CAESinkAUDIOTRACK::Initialize(AEAudioFormat &format, std::string &device)
115 115
   m_format.m_dataFormat = dataFormat;
116 116
 
117 117
   m_format.m_channelLayout = m_info.m_channels;
118  
-  m_format.m_frameSize = format.m_channelLayout.Count() * (CAEUtil::DataFormatToBits(m_format.m_dataFormat) >> 3);
  118
+  m_format.m_frameSize = m_format.m_channelLayout.Count() * (CAEUtil::DataFormatToBits(m_format.m_dataFormat) >> 3);
119 119
 
120 120
   m_draining = false;
121 121
   m_volume_changed = false;

0 notes on commit db89de3

Please sign in to comment.
Something went wrong with that request. Please try again.