Mercurial > hg > svcore
diff data/model/WritableWaveFileModel.cpp @ 1336:dc56e8a13e44 3.0-integration
Close wave file writer when recording stops (instead of leaving record file unclosed until the model is deleted)
author | Chris Cannam |
---|---|
date | Wed, 04 Jan 2017 12:05:14 +0000 |
parents | 54af1e21705c |
children | 3dcd83595bc8 |
line wrap: on
line diff
--- a/data/model/WritableWaveFileModel.cpp Tue Jan 03 13:04:47 2017 +0000 +++ b/data/model/WritableWaveFileModel.cpp Wed Jan 04 12:05:14 2017 +0000 @@ -176,6 +176,7 @@ void WritableWaveFileModel::writeComplete() { + m_writer->close(); if (m_reader) m_reader->updateDone(); m_proportion = 100; emit modelChanged();