comparison data/fileio/CodedAudioFileReader.h @ 1359:1c9bbbb6116a 3.0-integration

Use W64 instead of WAV for decoded files; use Ogg reader in preference to WAV one for Ogg files (WAV reader works, via libsndfile, but doesn't load metadata); fix Ogg reader to use QFile open instead of non-Win32-compatible API; add more encoder tests, audio writer test, midi reader test
author Chris Cannam
date Tue, 10 Jan 2017 10:58:25 +0000
parents 54af1e21705c
children c01cbe41aeb5
comparison
equal deleted inserted replaced
1358:b7be05d57f0a 1359:1c9bbbb6116a
11 published by the Free Software Foundation; either version 2 of the 11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version. See the file 12 License, or (at your option) any later version. See the file
13 COPYING included with this distribution for more information. 13 COPYING included with this distribution for more information.
14 */ 14 */
15 15
16 #ifndef _CODED_AUDIO_FILE_READER_H_ 16 #ifndef SV_CODED_AUDIO_FILE_READER_H
17 #define _CODED_AUDIO_FILE_READER_H_ 17 #define SV_CODED_AUDIO_FILE_READER_H
18 18
19 #include "AudioFileReader.h" 19 #include "AudioFileReader.h"
20 20
21 #include <sndfile.h>
22 #include <QMutex> 21 #include <QMutex>
23 #include <QReadWriteLock> 22 #include <QReadWriteLock>
23
24 #ifdef Q_OS_WIN
25 #include <windows.h>
26 #define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1
27 #endif
28
29 #include <sndfile.h>
24 30
25 class WavFileReader; 31 class WavFileReader;
26 class Serialiser; 32 class Serialiser;
27 33
28 namespace breakfastquay { 34 namespace breakfastquay {