Mercurial > hg > svcore
diff data/fileio/WavFileWriter.h @ 674:920e3880f7b4
* Add TempWriteFile abstraction, use it when exporting audio to avoid clobbering existing file before export is complete
author | Chris Cannam |
---|---|
date | Tue, 29 Mar 2011 17:30:23 +0100 |
parents | b0f4555b625e |
children | bcca512445f3 |
line wrap: on
line diff
--- a/data/fileio/WavFileWriter.h Wed Mar 09 11:48:01 2011 +0000 +++ b/data/fileio/WavFileWriter.h Tue Mar 29 17:30:23 2011 +0100 @@ -22,6 +22,7 @@ class DenseTimeValueModel; class MultiSelection; +class TempWriteFile; class WavFileWriter { @@ -46,6 +47,7 @@ QString m_path; size_t m_sampleRate; size_t m_channels; + TempWriteFile *m_temp; SNDFILE *m_file; QString m_error; };