aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorace20022 <ace20022@ymail.com>2013-02-23 13:20:14 +0100
committerace20022 <ace20022@ymail.com>2013-02-23 13:34:37 +0100
commita0412550167ba131ea890ff3ba4ffbbc34bb4292 (patch)
treea6d7d5c2d84d194ab4a3ed18983f0b2253db512a
parent57f3c52a5c24dfd809079315cdb09f1b3bf67b96 (diff)
[AESinkNull] Silence warning double -> int
-rw-r--r--xbmc/cores/AudioEngine/Sinks/AESinkNULL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/AudioEngine/Sinks/AESinkNULL.cpp b/xbmc/cores/AudioEngine/Sinks/AESinkNULL.cpp
index a0e7dab662..2f003dc118 100644
--- a/xbmc/cores/AudioEngine/Sinks/AESinkNULL.cpp
+++ b/xbmc/cores/AudioEngine/Sinks/AESinkNULL.cpp
@@ -52,7 +52,7 @@ bool CAESinkNULL::Initialize(AEAudioFormat &format, std::string &device)
// setup a pretend 500ms internal buffer
m_sink_frameSize = format.m_channelLayout.Count() * CAEUtil::DataFormatToBits(format.m_dataFormat) >> 3;
- m_sinkbuffer_size = (double)m_sink_frameSize * format.m_sampleRate / 2;
+ m_sinkbuffer_size = m_sink_frameSize * format.m_sampleRate / 2;
m_sinkbuffer_sec_per_byte = 1.0 / (double)(m_sink_frameSize * format.m_sampleRate);
m_draining = false;