Mercurial > hg > svcore
diff data/fileio/MP3FileReader.cpp @ 1313:ff9697592bef 3.0-integration
Add gapless preference to prefs dialog; much work on audio read tests
author | Chris Cannam |
---|---|
date | Thu, 01 Dec 2016 17:45:40 +0000 |
parents | 079e553dc16e |
children | 4cd64fc573f3 |
line wrap: on
line diff
--- a/data/fileio/MP3FileReader.cpp Tue Nov 29 17:09:07 2016 +0000 +++ b/data/fileio/MP3FileReader.cpp Thu Dec 01 17:45:40 2016 +0000 @@ -71,7 +71,7 @@ m_done = false; m_reporter = reporter; - if (m_gaplessMode == Gapless) { + if (m_gaplessMode == GaplessMode::Gapless) { CodedAudioFileReader::setFramesToTrim(DEFAULT_DECODER_DELAY, 0); } @@ -397,7 +397,7 @@ return MAD_FLOW_CONTINUE; } - if (m_gaplessMode == Gappy) { + if (m_gaplessMode == GaplessMode::Gappy) { // Our non-gapless mode does not even filter out the Xing/LAME // frame. That's because the main reason non-gapless mode // exists is for backward compatibility with MP3FileReader