summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/OpenALStream.cpp
diff options
context:
space:
mode:
authorskidau <skidau@gmail.com>2015-12-28 23:07:53 +1100
committerskidau <skidau@gmail.com>2015-12-28 23:08:55 +1100
commitcfa925fbbe96b3ab5daa6126b4c41b0ba3c6a061 (patch)
treedc3c185df9f43273385093e6542761b1c4698c97 /Source/Core/AudioCommon/OpenALStream.cpp
parentaabcd441d9a9fa98565a6aaf82cf56b64b53767d (diff)
Updated SoundTouch library to 1.9.2
Diffstat (limited to 'Source/Core/AudioCommon/OpenALStream.cpp')
-rw-r--r--Source/Core/AudioCommon/OpenALStream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/AudioCommon/OpenALStream.cpp b/Source/Core/AudioCommon/OpenALStream.cpp
index 26c651e720..b99e7e5bf7 100644
--- a/Source/Core/AudioCommon/OpenALStream.cpp
+++ b/Source/Core/AudioCommon/OpenALStream.cpp
@@ -233,11 +233,11 @@ void OpenALStream::SoundLoop()
if (iBuffersProcessed)
{
- float rate = m_mixer->GetCurrentSpeed();
+ double rate = (double)m_mixer->GetCurrentSpeed();
if (rate <= 0)
{
Core::RequestRefreshInfo();
- rate = m_mixer->GetCurrentSpeed();
+ rate = (double)m_mixer->GetCurrentSpeed();
}
// Place a lower limit of 10% speed. When a game boots up, there will be