Mercurial > hg > svcore
comparison data/fileio/CodedAudioFileReader.cpp @ 1465:cee1be4fb8c1
Fix some compiler warnings
author | Chris Cannam |
---|---|
date | Tue, 15 May 2018 11:03:49 +0100 |
parents | edee37ae5882 |
children | 70e172e6cc59 |
comparison
equal
deleted
inserted
replaced
1464:91bb68146dfc | 1465:cee1be4fb8c1 |
---|---|
226 } else { | 226 } else { |
227 SVDEBUG << "CodedAudioFileReader::initialiseDecodeCache: failed to open cache file \"" << m_cacheFileName << "\" (" << m_channelCount << " channels, sample rate " << m_sampleRate << " for writing, falling back to in-memory cache" << endl; | 227 SVDEBUG << "CodedAudioFileReader::initialiseDecodeCache: failed to open cache file \"" << m_cacheFileName << "\" (" << m_channelCount << " channels, sample rate " << m_sampleRate << " for writing, falling back to in-memory cache" << endl; |
228 m_cacheMode = CacheInMemory; | 228 m_cacheMode = CacheInMemory; |
229 } | 229 } |
230 | 230 |
231 } catch (DirectoryCreationFailed f) { | 231 } catch (const DirectoryCreationFailed &f) { |
232 SVDEBUG << "CodedAudioFileReader::initialiseDecodeCache: failed to create temporary directory! Falling back to in-memory cache" << endl; | 232 SVDEBUG << "CodedAudioFileReader::initialiseDecodeCache: failed to create temporary directory! Falling back to in-memory cache" << endl; |
233 m_cacheMode = CacheInMemory; | 233 m_cacheMode = CacheInMemory; |
234 } | 234 } |
235 } | 235 } |
236 | 236 |