Mercurial > hg > svcore
comparison data/fileio/CodedAudioFileReader.cpp @ 1361:49b43306778b 3.0-integration
Win32 fixes
author | Chris Cannam |
---|---|
date | Tue, 10 Jan 2017 11:08:14 +0000 |
parents | 1c9bbbb6116a |
children | 96a6ea30933e |
comparison
equal
deleted
inserted
replaced
1360:8eddb528ef0c | 1361:49b43306778b |
---|---|
198 // So: now we write floats. | 198 // So: now we write floats. |
199 fileInfo.format = SF_FORMAT_W64 | SF_FORMAT_FLOAT; | 199 fileInfo.format = SF_FORMAT_W64 | SF_FORMAT_FLOAT; |
200 | 200 |
201 #ifdef Q_OS_WIN | 201 #ifdef Q_OS_WIN |
202 m_cacheFileWritePtr = sf_wchar_open | 202 m_cacheFileWritePtr = sf_wchar_open |
203 ((LPCWSTR)m_cacheFileName.utf16(), SFM_WRITE, &m_fileInfo); | 203 ((LPCWSTR)m_cacheFileName.utf16(), SFM_WRITE, &fileInfo); |
204 #else | 204 #else |
205 m_cacheFileWritePtr = sf_open | 205 m_cacheFileWritePtr = sf_open |
206 (m_cacheFileName.toLocal8Bit(), SFM_WRITE, &fileInfo); | 206 (m_cacheFileName.toLocal8Bit(), SFM_WRITE, &fileInfo); |
207 #endif | 207 #endif |
208 | 208 |