diff data/fileio/WavFileWriter.h @ 1348:b3cb0edc25cd 3.0-integration

Update WAV/MP3/BZipFileDevice code to avoid using local 8-bit encoding
author Chris Cannam
date Fri, 06 Jan 2017 16:40:11 +0000
parents 3aea4f7617bb
children 1bc6f70cb4c7
line wrap: on
line diff
--- a/data/fileio/WavFileWriter.h	Fri Jan 06 15:53:02 2017 +0000
+++ b/data/fileio/WavFileWriter.h	Fri Jan 06 16:40:11 2017 +0000
@@ -13,10 +13,11 @@
     COPYING included with this distribution for more information.
 */
 
-#ifndef _WAV_FILE_WRITER_H_
-#define _WAV_FILE_WRITER_H_
+#ifndef SV_WAV_FILE_WRITER_H
+#define SV_WAV_FILE_WRITER_H
 
 #include <QString>
+#include <QFile>
 
 #include <sndfile.h>
 
@@ -68,8 +69,9 @@
     sv_samplerate_t m_sampleRate;
     int m_channels;
     TempWriteFile *m_temp;
-    SNDFILE *m_file;
+    SNDFILE *m_sndfile;
     QString m_error;
+    QFile *m_qfile;
 
     QString getWriteFilename() const;
 };