From 11b7655bb103974d3a855d64dc0b6ec1b0df4ba1 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 11 Mar 2010 19:32:01 +0000 Subject: reapplied previous patch git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1620 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/sndfile/decoder_sndfile.cpp | 2 +- src/plugins/Input/sndfile/decodersndfilefactory.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/plugins/Input/sndfile') diff --git a/src/plugins/Input/sndfile/decoder_sndfile.cpp b/src/plugins/Input/sndfile/decoder_sndfile.cpp index abcc65d78..9195a8469 100644 --- a/src/plugins/Input/sndfile/decoder_sndfile.cpp +++ b/src/plugins/Input/sndfile/decoder_sndfile.cpp @@ -57,7 +57,7 @@ bool DecoderSndFile::initialize() if (!m_sndfile) { qWarning("DecoderSndFile: failed to open: %s", qPrintable(m_path)); - return FALSE; + return false; } m_freq = snd_info.samplerate; diff --git a/src/plugins/Input/sndfile/decodersndfilefactory.cpp b/src/plugins/Input/sndfile/decodersndfilefactory.cpp index 82075e124..5ffbb8ddb 100644 --- a/src/plugins/Input/sndfile/decodersndfilefactory.cpp +++ b/src/plugins/Input/sndfile/decodersndfilefactory.cpp @@ -47,17 +47,17 @@ bool DecoderSndFileFactory::supports(const QString &source) const SF_INFO snd_info; SNDFILE *sndfile = sf_open(source.toLocal8Bit(), SFM_READ, &snd_info); if (!sndfile) - return FALSE; + return false; sf_close (sndfile); sndfile = 0; return true; } - return FALSE; + return false; } bool DecoderSndFileFactory::canDecode(QIODevice *) const { - return FALSE; + return false; } const DecoderProperties DecoderSndFileFactory::properties() const @@ -69,7 +69,7 @@ const DecoderProperties DecoderSndFileFactory::properties() const //properties.contentType = ""; properties.shortName = "sndfile"; properties.hasAbout = true; - properties.hasSettings = FALSE; + properties.hasSettings = false; properties.noInput = true; properties.protocols = "file"; return properties; -- cgit v1.2.3-13-gbd6f