diff data/fileio/DecodingWavFileReader.h @ 1599:ce185d4dd408 bqaudiostream

Merge from default branch
author Chris Cannam
date Wed, 23 Jan 2019 14:43:43 +0000
parents f8e3dcbafb4d ad5f892c0c4d
children 14747f24ad04
line wrap: on
line diff
--- a/data/fileio/DecodingWavFileReader.h	Wed Jan 23 10:31:40 2019 +0000
+++ b/data/fileio/DecodingWavFileReader.h	Wed Jan 23 14:43:43 2019 +0000
@@ -13,8 +13,8 @@
     COPYING included with this distribution for more information.
 */
 
-#ifndef _DECODING_WAV_FILE_READER_H_
-#define _DECODING_WAV_FILE_READER_H_
+#ifndef SV_DECODING_WAV_FILE_READER_H
+#define SV_DECODING_WAV_FILE_READER_H
 
 #include "CodedAudioFileReader.h"
 
@@ -40,16 +40,17 @@
     QString getTitle() const override { return m_title; }
     QString getMaker() const override { return m_maker; }
     
-    virtual QString getError() const { return m_error; }
-    virtual QString getLocation() const { return m_source.getLocation(); }
+    QString getError() const override { return m_error; }
+    QString getLocation() const override { return m_source.getLocation(); }
+
     static void getSupportedExtensions(std::set<QString> &extensions);
     static bool supportsExtension(QString ext);
     static bool supportsContentType(QString type);
     static bool supports(FileSource &source);
 
-    virtual int getDecodeCompletion() const { return m_completion; }
+    int getDecodeCompletion() const override { return m_completion; }
 
-    virtual bool isUpdating() const {
+    bool isUpdating() const override {
         return m_decodeThread && m_decodeThread->isRunning();
     }
 
@@ -75,7 +76,7 @@
     {
     public:
         DecodeThread(DecodingWavFileReader *reader) : m_reader(reader) { }
-        virtual void run();
+        void run() override;
 
     protected:
         DecodingWavFileReader *m_reader;