Mercurial > hg > svcore
diff data/fileio/CodedAudioFileReader.h @ 263:71dfc6ab3b54
* Threaded mp3/ogg file reading. Not activated yet, as it doesn't work
in context (SV needs to know the duration of its main model at the outset)
author | Chris Cannam |
---|---|
date | Thu, 24 May 2007 16:20:22 +0000 |
parents | 1a42221a1522 |
children | 20028c634494 |
line wrap: on
line diff
--- a/data/fileio/CodedAudioFileReader.h Thu May 10 12:48:26 2007 +0000 +++ b/data/fileio/CodedAudioFileReader.h Thu May 24 16:20:22 2007 +0000 @@ -19,6 +19,7 @@ #include "AudioFileReader.h" #include <sndfile.h> +#include <QMutex> class WavFileReader; @@ -43,6 +44,7 @@ void finishDecodeCache(); bool isDecodeCacheInitialised() const { return m_initialised; } + QMutex m_cacheMutex; CacheMode m_cacheMode; SampleBlock m_data; bool m_initialised;