Package list squeezelite / b0762cc
reset delay state on flush in all cases rather than just for dsd Adrian Smith 7 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
128128 }
129129 )
130130 frames -= size;
131 // add silence delay in two halves, before and after track start and rate or pcm-dop change
131 // add silence delay in two halves, before and after track start on rate or pcm-dop change
132132 if (delay) {
133133 output.state = OUTPUT_PAUSE_FRAMES;
134134 if (!output.delay_active) {
419419 if (output.error_opening) {
420420 output.current_sample_rate = output.default_sample_rate;
421421 }
422 IF_DSD( output.delay_active = false; )
422 output.delay_active = false;
423423 }
424424 output.frames_played = 0;
425425 UNLOCK;