diff options
Diffstat (limited to 'src/plugins/Input/sndfile/decodersndfilefactory.cpp')
| -rw-r--r-- | src/plugins/Input/sndfile/decodersndfilefactory.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |
