diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-11 19:32:01 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-11 19:32:01 +0000 |
| commit | 11b7655bb103974d3a855d64dc0b6ec1b0df4ba1 (patch) | |
| tree | 09084901838b8d57f345a5379cf5915cde4a9921 /src/plugins/Input/sndfile | |
| parent | 013ee07b55a3738b28b5d46324392d8498b50f2b (diff) | |
| download | qmmp-11b7655bb103974d3a855d64dc0b6ec1b0df4ba1.tar.gz qmmp-11b7655bb103974d3a855d64dc0b6ec1b0df4ba1.tar.bz2 qmmp-11b7655bb103974d3a855d64dc0b6ec1b0df4ba1.zip | |
reapplied previous patch
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1620 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/sndfile')
| -rw-r--r-- | src/plugins/Input/sndfile/decoder_sndfile.cpp | 2 | ||||
| -rw-r--r-- | src/plugins/Input/sndfile/decodersndfilefactory.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
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; |
