Mercurial > hg > svcore
comparison data/model/WaveFileModel.h @ 345:700cd3350391
* Improvements to layer summary dialog (LayerTree, LayerTreeDialog), & rename.
It's still rather unstable though.
author | Chris Cannam |
---|---|
date | Wed, 28 Nov 2007 17:45:37 +0000 |
parents | 1afaf98dbf11 |
children | 0e30c8ec15a0 94fc0591ea43 |
comparison
equal
deleted
inserted
replaced
344:277006c62fea | 345:700cd3350391 |
---|---|
48 size_t getSampleRate() const; | 48 size_t getSampleRate() const; |
49 size_t getNativeRate() const; | 49 size_t getNativeRate() const; |
50 | 50 |
51 QString getTitle() const; | 51 QString getTitle() const; |
52 QString getMaker() const; | 52 QString getMaker() const; |
53 QString getLocation() const; | |
53 | 54 |
54 virtual Model *clone() const; | 55 virtual Model *clone() const; |
55 | 56 |
56 float getValueMinimum() const { return -1.0f; } | 57 float getValueMinimum() const { return -1.0f; } |
57 float getValueMaximum() const { return 1.0f; } | 58 float getValueMaximum() const { return 1.0f; } |
70 virtual void getSummaries(size_t channel, size_t start, size_t count, | 71 virtual void getSummaries(size_t channel, size_t start, size_t count, |
71 RangeBlock &ranges, | 72 RangeBlock &ranges, |
72 size_t &blockSize) const; | 73 size_t &blockSize) const; |
73 | 74 |
74 virtual Range getSummary(size_t channel, size_t start, size_t count) const; | 75 virtual Range getSummary(size_t channel, size_t start, size_t count) const; |
76 | |
77 QString getTypeName() const { return tr("Wave File"); } | |
75 | 78 |
76 virtual void toXml(QTextStream &out, | 79 virtual void toXml(QTextStream &out, |
77 QString indent = "", | 80 QString indent = "", |
78 QString extraAttributes = "") const; | 81 QString extraAttributes = "") const; |
79 | 82 |