comparison data/fileio/MP3FileReader.cpp @ 1349:330bcc92507d 3.0-integration

Take a different approach to using libsndfile -- the _fd function doesn't work for me in this build, so use the wchar api
author Chris Cannam
date Fri, 06 Jan 2017 20:51:47 +0000
parents b3cb0edc25cd
children 97deefd38060
comparison
equal deleted inserted replaced
1348:b3cb0edc25cd 1349:330bcc92507d
33 #endif 33 #endif
34 34
35 #include <QFileInfo> 35 #include <QFileInfo>
36 36
37 #include <QTextCodec> 37 #include <QTextCodec>
38
39 #ifdef _MSC_VER
40 #include <io.h>
41 #define open _open
42 #endif
43 38
44 using std::string; 39 using std::string;
45 40
46 static sv_frame_t DEFAULT_DECODER_DELAY = 529; 41 static sv_frame_t DEFAULT_DECODER_DELAY = 529;
47 42