Mercurial > hg > svapp
changeset 621:5e0018969003 import-audio-data
Update for slightly adjusted WritableWaveFileModel api
author | Chris Cannam |
---|---|
date | Wed, 12 Sep 2018 13:57:46 +0100 |
parents | bfa9604714c9 |
children | 22e455beee3b |
files | audio/AudioCallbackRecordTarget.cpp |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/audio/AudioCallbackRecordTarget.cpp Tue Sep 11 14:37:31 2018 +0100 +++ b/audio/AudioCallbackRecordTarget.cpp Wed Sep 12 13:57:46 2018 +0100 @@ -248,9 +248,11 @@ m_audioFileName = recordedDir.filePath(filename); - m_model = new WritableWaveFileModel(m_recordSampleRate, - m_recordChannelCount, - m_audioFileName); + m_model = new WritableWaveFileModel + (m_audioFileName, + m_recordSampleRate, + m_recordChannelCount, + WritableWaveFileModel::Normalisation::None); if (!m_model->isOK()) { SVCERR << "ERROR: AudioCallbackRecordTarget::startRecording: Recording failed"