comparison data/fileio/WavFileReader.cpp @ 1605:d83ab62cdc28

Merge from branch bqaudiostream
author Chris Cannam
date Wed, 30 Jan 2019 14:57:12 +0000
parents ce185d4dd408
children 14747f24ad04
comparison
equal deleted inserted replaced
1586:841b2a3e606d 1605:d83ab62cdc28
93 } 93 }
94 94
95 if (m_normalisation != Normalisation::None && !m_updating) { 95 if (m_normalisation != Normalisation::None && !m_updating) {
96 m_max = getMax(); 96 m_max = getMax();
97 } 97 }
98
99 const char *str = sf_get_string(m_file, SF_STR_TITLE);
100 if (str) {
101 m_title = str;
102 }
103 str = sf_get_string(m_file, SF_STR_ARTIST);
104 if (str) {
105 m_maker = str;
106 }
98 } 107 }
99 108
100 SVDEBUG << "WavFileReader: Filename " << m_path << ", frame count " << m_frameCount << ", channel count " << m_channelCount << ", sample rate " << m_sampleRate << ", format " << m_fileInfo.format << ", seekable " << m_fileInfo.seekable << " adjusted to " << m_seekable << ", normalisation " << int(m_normalisation) << endl; 109 SVDEBUG << "WavFileReader: Filename " << m_path << ", frame count " << m_frameCount << ", channel count " << m_channelCount << ", sample rate " << m_sampleRate << ", format " << m_fileInfo.format << ", seekable " << m_fileInfo.seekable << " adjusted to " << m_seekable << ", normalisation " << int(m_normalisation) << endl;
101 } 110 }
102 111