Mercurial > audlegacy
diff Plugins/Input/console/Track_Emu.cpp @ 499:626c86bda311 trunk
[svn] If a track has a length, then we *really* do not want silence detection,
as this fucks up tracks that have been improperly tagged.
author | nenolod |
---|---|
date | Wed, 25 Jan 2006 17:39:42 -0800 |
parents | a371216b5c8a |
children | 1cf60c54c22d |
line wrap: on
line diff
--- a/Plugins/Input/console/Track_Emu.cpp Wed Jan 25 17:27:09 2006 -0800 +++ b/Plugins/Input/console/Track_Emu.cpp Wed Jan 25 17:39:42 2006 -0800 @@ -160,7 +160,8 @@ } out_time += out_count; - if ( emu_time - silence_time > silence_max * stereo * emu->sample_rate() && silence_time ) + if ( detect_silence && + ( emu_time - silence_time > silence_max * stereo * emu->sample_rate() && silence_time ) ) end_track(); // fade if track is ending