comparison data/model/WritableWaveFileModel.h @ 1517:925d205c39b4 import-audio-data

Handle sample range specification for CSV import
author Chris Cannam
date Sat, 08 Sep 2018 20:43:14 +0100
parents 3dcd83595bc8
children 954d0cf29ca7
comparison
equal deleted inserted replaced
1516:ad46f6e80369 1517:925d205c39b4
26 class WritableWaveFileModel : public WaveFileModel 26 class WritableWaveFileModel : public WaveFileModel
27 { 27 {
28 Q_OBJECT 28 Q_OBJECT
29 29
30 public: 30 public:
31 WritableWaveFileModel(sv_samplerate_t sampleRate, int channels, QString path = ""); 31 WritableWaveFileModel(sv_samplerate_t sampleRate,
32 int channels,
33 QString path = "",
34 bool normaliseOnRead = false);
32 ~WritableWaveFileModel(); 35 ~WritableWaveFileModel();
33 36
34 /** 37 /**
35 * Call addSamples to append a block of samples to the end of the 38 * Call addSamples to append a block of samples to the end of the
36 * file. 39 * file.