Mercurial > hg > svcore
comparison data/fileio/DecodingWavFileReader.h @ 1096:4d9816ba0ebe simple-fft-model
Rework audio file reader API to prefer using std containers
author | Chris Cannam |
---|---|
date | Mon, 15 Jun 2015 12:19:47 +0100 |
parents | a1cd5abcb38b |
children | abc309f507ae |
comparison
equal
deleted
inserted
replaced
1095:b66734b5f806 | 1096:4d9816ba0ebe |
---|---|
67 int m_completion; | 67 int m_completion; |
68 | 68 |
69 WavFileReader *m_original; | 69 WavFileReader *m_original; |
70 ProgressReporter *m_reporter; | 70 ProgressReporter *m_reporter; |
71 | 71 |
72 void addBlock(const SampleBlock &frames); | 72 void addBlock(const std::vector<float> &frames); |
73 | 73 |
74 class DecodeThread : public Thread | 74 class DecodeThread : public Thread |
75 { | 75 { |
76 public: | 76 public: |
77 DecodeThread(DecodingWavFileReader *reader) : m_reader(reader) { } | 77 DecodeThread(DecodingWavFileReader *reader) : m_reader(reader) { } |