diff data/fileio/CodedAudioFileReader.h @ 357:b92513201610

* better progress reporting in FileSource * fix set-to-default for audio dials with mappers
author Chris Cannam
date Fri, 04 Jan 2008 17:08:10 +0000
parents c022976d18e8
children 7a66b94ef1c0
line wrap: on
line diff
--- a/data/fileio/CodedAudioFileReader.h	Mon Dec 17 12:32:28 2007 +0000
+++ b/data/fileio/CodedAudioFileReader.h	Fri Jan 04 17:08:10 2008 +0000
@@ -27,6 +27,8 @@
 
 class CodedAudioFileReader : public AudioFileReader
 {
+    Q_OBJECT
+
 public:
     virtual ~CodedAudioFileReader();
 
@@ -40,6 +42,9 @@
 
     virtual size_t getNativeRate() const { return m_fileRate; }
 
+signals:
+    void progress(int);
+
 protected:
     CodedAudioFileReader(CacheMode cacheMode, size_t targetRate);