Fix FTBFS with clang

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 9 years ago
parent 7332073b07
commit ae29f50ac6

@ -1286,7 +1286,7 @@ Fader::run()
elapsedUs += stepSizeUs; elapsedUs += stepSizeUs;
// get volume (amarok main * equalizer preamp) // get volume (amarok main * equalizer preamp)
float vol = Engine::Base::makeVolumeLogarithmic( m_engine->m_volume ) * m_engine->m_preamp; float vol = XineEngine::makeVolumeLogarithmic( m_engine->m_volume ) * m_engine->m_preamp;
// compute the mix factor as the percentage of time spent since fade begun // compute the mix factor as the percentage of time spent since fade begun
float mix = (elapsedUs / 1000.0) / (float)m_fadeLength; float mix = (elapsedUs / 1000.0) / (float)m_fadeLength;

@ -35,6 +35,8 @@
namespace TagLib namespace TagLib
{ {
class AudioProperties;
namespace RealMedia namespace RealMedia
{ {
#if SIZEOF_LONG == 4 #if SIZEOF_LONG == 4
@ -277,9 +279,7 @@ namespace TagLib
private: private:
TagLib::ID3v1::Tag *m_id3tag; TagLib::ID3v1::Tag *m_id3tag;
}; };
class TagLib::AudioProperties;
class RealMediaFF class RealMediaFF
{ {
public: public:

Loading…
Cancel
Save