diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-11 18:46:25 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-11 18:46:25 +0000 |
| commit | 013ee07b55a3738b28b5d46324392d8498b50f2b (patch) | |
| tree | 50979d3872a15fd3e25a746418da0f56c8e8dadd /src/plugins/Input/sndfile | |
| parent | 542c1d2d3a26ce23b1d0668011b420db231334d2 (diff) | |
| download | qmmp-013ee07b55a3738b28b5d46324392d8498b50f2b.tar.gz qmmp-013ee07b55a3738b28b5d46324392d8498b50f2b.tar.bz2 qmmp-013ee07b55a3738b28b5d46324392d8498b50f2b.zip | |
removed obsolete members
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1619 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 73a54ef0b..abcc65d78 100644 --- a/src/plugins/Input/sndfile/decoder_sndfile.cpp +++ b/src/plugins/Input/sndfile/decoder_sndfile.cpp @@ -68,7 +68,7 @@ bool DecoderSndFile::initialize() configure(m_freq, chan, Qmmp::PCM_S16LE); qDebug("DecoderSndFile: detected format: %08X", snd_info.format); qDebug("DecoderSndFile: initialize succes"); - return TRUE; + return true; } void DecoderSndFile::deinit() diff --git a/src/plugins/Input/sndfile/decodersndfilefactory.cpp b/src/plugins/Input/sndfile/decodersndfilefactory.cpp index be9e98feb..82075e124 100644 --- a/src/plugins/Input/sndfile/decodersndfilefactory.cpp +++ b/src/plugins/Input/sndfile/decodersndfilefactory.cpp @@ -40,7 +40,7 @@ bool DecoderSndFileFactory::supports(const QString &source) const (source.right(4).toLower() == ".sph") || (source.right(3).toLower() == ".sf") || (source.right(4).toLower() == ".voc")) - return TRUE; + return true; else if (source.right(4).toLower() == ".wav") { //try top open the file @@ -50,7 +50,7 @@ bool DecoderSndFileFactory::supports(const QString &source) const return FALSE; sf_close (sndfile); sndfile = 0; - return TRUE; + return true; } return FALSE; } @@ -68,9 +68,9 @@ const DecoderProperties DecoderSndFileFactory::properties() const properties.description = tr("PCM Files"); //properties.contentType = ""; properties.shortName = "sndfile"; - properties.hasAbout = TRUE; + properties.hasAbout = true; properties.hasSettings = FALSE; - properties.noInput = TRUE; + properties.noInput = true; properties.protocols = "file"; return properties; } |
