- /* process last queued silent part if any */
- if (hold_off > 0) {
- assert (hold_off < fade_length);
- silence_end -= hold_off;
- if (silence_end - silence_start >= min_length) {
- silent_periods.push_back (std::make_pair (silence_start, silence_end));
- }
- }
- hold_off = 0;
-
- if (continuous_signal < fade_length) {
- silence_start = pos + i + fade_length - continuous_signal;
- } else {
- silence_start = pos + i;
- }