Mercurial > hg > svcore
comparison data/fileio/WavFileReader.h @ 1126:39019ce29178 tony-2.0-integration
Merge through to branch for Tony 2.0
author | Chris Cannam |
---|---|
date | Thu, 20 Aug 2015 14:54:21 +0100 |
parents | 4d9816ba0ebe |
children | 54af1e21705c |
comparison
equal
deleted
inserted
replaced
1119:e22bfe8ca248 | 1126:39019ce29178 |
---|---|
48 | 48 |
49 /** | 49 /** |
50 * Must be safe to call from multiple threads with different | 50 * Must be safe to call from multiple threads with different |
51 * arguments on the same object at the same time. | 51 * arguments on the same object at the same time. |
52 */ | 52 */ |
53 virtual SampleBlock getInterleavedFrames(sv_frame_t start, sv_frame_t count) const; | 53 virtual std::vector<float> getInterleavedFrames(sv_frame_t start, sv_frame_t count) const; |
54 | 54 |
55 static void getSupportedExtensions(std::set<QString> &extensions); | 55 static void getSupportedExtensions(std::set<QString> &extensions); |
56 static bool supportsExtension(QString ext); | 56 static bool supportsExtension(QString ext); |
57 static bool supportsContentType(QString type); | 57 static bool supportsContentType(QString type); |
58 static bool supports(FileSource &source); | 58 static bool supports(FileSource &source); |
73 QString m_error; | 73 QString m_error; |
74 | 74 |
75 bool m_seekable; | 75 bool m_seekable; |
76 | 76 |
77 mutable QMutex m_mutex; | 77 mutable QMutex m_mutex; |
78 mutable SampleBlock m_buffer; | 78 mutable std::vector<float> m_buffer; |
79 mutable sv_frame_t m_bufsiz; | |
80 mutable sv_frame_t m_lastStart; | 79 mutable sv_frame_t m_lastStart; |
81 mutable sv_frame_t m_lastCount; | 80 mutable sv_frame_t m_lastCount; |
82 | 81 |
83 bool m_updating; | 82 bool m_updating; |
84 }; | 83 }; |