[activeae] set the number of input frames to the number of sink frames during raw...
authorJonathan Marshall <jmarshall@xbmc.org>
Sun, 2 Feb 2014 09:16:29 +0000 (22:16 +1300)
committerJonathan Marshall <jmarshall@xbmc.org>
Sun, 2 Feb 2014 09:38:05 +0000 (22:38 +1300)
xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp

index a3189c9..fc6a964 100644 (file)
@@ -961,6 +961,7 @@ void CActiveAE::Configure(AEAudioFormat *desiredFmt)
     AEAudioFormat outputFormat;
     if (m_mode == MODE_RAW)
     {
+      inputFormat.m_frames = m_sinkFormat.m_frames;
       outputFormat = inputFormat;
       sinkInputFormat = m_sinkFormat;
     }