Mercurial > hg > svcore
comparison data/model/WritableWaveFileModel.cpp @ 1040:a1cd5abcb38b cxx11
Introduce and use a samplerate type
author | Chris Cannam |
---|---|
date | Wed, 04 Mar 2015 12:01:04 +0000 |
parents | cc27f35aa75c |
children | 0fd3661bcfff |
comparison
equal
deleted
inserted
replaced
1039:b14064bd1f97 | 1040:a1cd5abcb38b |
---|---|
28 #include <iostream> | 28 #include <iostream> |
29 #include <stdint.h> | 29 #include <stdint.h> |
30 | 30 |
31 //#define DEBUG_WRITABLE_WAVE_FILE_MODEL 1 | 31 //#define DEBUG_WRITABLE_WAVE_FILE_MODEL 1 |
32 | 32 |
33 WritableWaveFileModel::WritableWaveFileModel(int sampleRate, | 33 WritableWaveFileModel::WritableWaveFileModel(sv_samplerate_t sampleRate, |
34 int channels, | 34 int channels, |
35 QString path) : | 35 QString path) : |
36 m_model(0), | 36 m_model(0), |
37 m_writer(0), | 37 m_writer(0), |
38 m_reader(0), | 38 m_reader(0), |