Mercurial > hg > svcore
comparison data/fileio/AudioFileReader.h @ 265:e08f486e8d8c
* Enable threaded decoding for Ogg and MP3 files.
Needs some work on reducing updates to the overview widget
author | Chris Cannam |
---|---|
date | Wed, 06 Jun 2007 16:24:55 +0000 |
parents | 570794f6f6a7 |
children | 822bd7fd526c |
comparison
equal
deleted
inserted
replaced
264:260032c26c4f | 265:e08f486e8d8c |
---|---|
40 * different arguments on the same object at the same time. | 40 * different arguments on the same object at the same time. |
41 */ | 41 */ |
42 virtual void getInterleavedFrames(size_t start, size_t count, | 42 virtual void getInterleavedFrames(size_t start, size_t count, |
43 SampleBlock &frames) const = 0; | 43 SampleBlock &frames) const = 0; |
44 | 44 |
45 // only subclasses that do not know exactly how long the audio | |
46 // file is until it's been completely decoded should implement this | |
47 virtual int getDecodeCompletion() const { return 100; } // % | |
48 | |
45 virtual bool isUpdating() const { return false; } | 49 virtual bool isUpdating() const { return false; } |
46 | 50 |
47 signals: | 51 signals: |
48 void frameCountChanged(); | 52 void frameCountChanged(); |
49 | 53 |