Mercurial > hg > svcore
comparison data/fileio/CodedAudioFileReader.h @ 1306:b325e91505b5 mp3-gapless
Refactor in CodedAudioFileReader in preparation for trimming at end
author | Chris Cannam |
---|---|
date | Tue, 29 Nov 2016 12:06:49 +0000 |
parents | 9f9f55a8af92 |
children | c84629395040 |
comparison
equal
deleted
inserted
replaced
1305:9f9f55a8af92 | 1306:b325e91505b5 |
---|---|
77 | 77 |
78 void startSerialised(QString id); | 78 void startSerialised(QString id); |
79 void endSerialised(); | 79 void endSerialised(); |
80 | 80 |
81 private: | 81 private: |
82 void pushBuffer(float *interleaved, sv_frame_t sz, bool final); | 82 void pushCacheWriteBufferMaybe(bool final); |
83 | |
84 sv_frame_t pushBuffer(float *interleaved, sv_frame_t sz, bool final); | |
85 | |
86 // to be called only by pushBuffer | |
83 void pushBufferResampling(float *interleaved, sv_frame_t sz, double ratio, bool final); | 87 void pushBufferResampling(float *interleaved, sv_frame_t sz, double ratio, bool final); |
88 | |
89 // to be called only by pushBuffer and pushBufferResampling | |
84 void pushBufferNonResampling(float *interleaved, sv_frame_t sz); | 90 void pushBufferNonResampling(float *interleaved, sv_frame_t sz); |
85 | 91 |
86 protected: | 92 protected: |
87 QMutex m_cacheMutex; | 93 QMutex m_cacheMutex; |
88 CacheMode m_cacheMode; | 94 CacheMode m_cacheMode; |