Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ActiveAE: Fix compiler warnings

  • Loading branch information...
commit f468b7bec02fc01556fa8b2711e32a482409457f 1 parent 9c27a02
@fritsch fritsch authored FernetMenta committed
View
2  xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEResample.cpp
@@ -96,7 +96,7 @@ bool CActiveAEResample::Init(uint64_t dst_chan_layout, int dst_channels, int dst
m_dst_chan_layout = 0;
for (unsigned int out=0; out<remapLayout->Count(); out++)
{
- m_dst_chan_layout += (1 << out);
+ m_dst_chan_layout += (uint64_t) (1 << out);
int idx = GetAVChannelIndex((*remapLayout)[out], m_src_chan_layout);
if (idx >= 0)
{
View
2  xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.cpp
@@ -713,7 +713,7 @@ unsigned int CActiveAESink::OutputSamples(CSampleBuffer* samples)
unsigned int frames = samples->pkt->nb_samples;
unsigned int maxFrames;
int retry = 0;
- int written = 0;
+ unsigned int written = 0;
double sinkDelay = 0.0;
switch(m_convertState)
Please sign in to comment.
Something went wrong with that request. Please try again.