comparison data/model/WritableWaveFileModel.h @ 384:6f6ab834449d spectrogram-cache-rejig

* Merge from trunk
author Chris Cannam
date Wed, 27 Feb 2008 11:59:42 +0000
parents 5877d68815c7
children
comparison
equal deleted inserted replaced
337:a6fab10ff9e6 384:6f6ab834449d
66 float *buffer) const; 66 float *buffer) const;
67 67
68 virtual size_t getData(int channel, size_t start, size_t count, 68 virtual size_t getData(int channel, size_t start, size_t count,
69 double *buffer) const; 69 double *buffer) const;
70 70
71 virtual size_t getData(size_t fromchannel, size_t tochannel,
72 size_t start, size_t count,
73 float **buffer) const;
74
75 virtual size_t getSummaryBlockSize(size_t desired) const;
76
71 virtual void getSummaries(size_t channel, size_t start, size_t count, 77 virtual void getSummaries(size_t channel, size_t start, size_t count,
72 RangeBlock &ranges, size_t &blockSize) const; 78 RangeBlock &ranges, size_t &blockSize) const;
73 79
74 virtual Range getSummary(size_t channel, size_t start, size_t count) const; 80 virtual Range getSummary(size_t channel, size_t start, size_t count) const;
81
82 QString getTypeName() const { return tr("Writable Wave File"); }
75 83
76 virtual void toXml(QTextStream &out, 84 virtual void toXml(QTextStream &out,
77 QString indent = "", 85 QString indent = "",
78 QString extraAttributes = "") const; 86 QString extraAttributes = "") const;
79 87