Mercurial > hg > svcore
comparison data/fileio/MP3FileReader.cpp @ 1306:b325e91505b5 mp3-gapless
Refactor in CodedAudioFileReader in preparation for trimming at end
author | Chris Cannam |
---|---|
date | Tue, 29 Nov 2016 12:06:49 +0000 |
parents | 9f9f55a8af92 |
children | c84629395040 |
comparison
equal
deleted
inserted
replaced
1305:9f9f55a8af92 | 1306:b325e91505b5 |
---|---|
446 | 446 |
447 SVDEBUG << "MP3FileReader: LAME encoder delay = " << delay | 447 SVDEBUG << "MP3FileReader: LAME encoder delay = " << delay |
448 << ", padding = " << padding << endl; | 448 << ", padding = " << padding << endl; |
449 | 449 |
450 SVDEBUG << "MP3FileReader: Will be trimming " << delayToDrop | 450 SVDEBUG << "MP3FileReader: Will be trimming " << delayToDrop |
451 << " samples at start and " << paddingToDrop | 451 << " samples from start and " << paddingToDrop |
452 << " at end" << endl; | 452 << " from end" << endl; |
453 | 453 |
454 CodedAudioFileReader::setSamplesToTrim(delayToDrop, paddingToDrop); | 454 CodedAudioFileReader::setSamplesToTrim(delayToDrop, paddingToDrop); |
455 | 455 |
456 } else { | 456 } else { |
457 SVDEBUG << "MP3FileReader: Xing frame has no LAME metadata" << endl; | 457 SVDEBUG << "MP3FileReader: Xing frame has no LAME metadata" << endl; |