aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Hochecker <fernetmenta@online.de>2013-12-05 18:42:50 +0100
committerRainer Hochecker <fernetmenta@online.de>2013-12-08 10:01:43 +0100
commitfdd14466fe8184e7f6e4821a0a512633d5d5f954 (patch)
tree051ce58933dce8207779bc738c89223d826e7c42
parent07f238c724b68b36d8c1d8732c83fe759d0b755b (diff)
ActiveAE: fix incorrect return values of GetSpace
-rw-r--r--xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp
index 22b6e71354..c977c37b6b 100644
--- a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp
+++ b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp
@@ -1001,6 +1001,7 @@ void CActiveAE::Configure(AEAudioFormat *desiredFmt)
// create buffer pool
(*it)->m_inputBuffers = new CActiveAEBufferPool((*it)->m_format);
(*it)->m_inputBuffers->Create(MAX_CACHE_LEVEL*1000);
+ (*it)->m_streamSpace = (*it)->m_format.m_frameSize * (*it)->m_format.m_frames;
}
if (initSink && (*it)->m_resampleBuffers)
{