Skip to content

Commit

Permalink
aplay: fixup compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
borine committed Feb 13, 2025
1 parent 0aaf9e9 commit f84d888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/aplay/aplay.c
Original file line number Diff line number Diff line change
Expand Up @@ -813,11 +813,11 @@ static void *io_worker_routine(struct io_worker *w) {
}

#if ENABLE_APLAY_RESAMPLER
size_t resample_delay_frames;
if (use_resampler) {
if (w->alsa_pcm.underrun)
resampler_reset(resampler, 0);

size_t resample_delay_frames;
resample_delay_frames = ffb_len_out(write_buffer) / w->ba_pcm.channels;
resample_delay_frames /= resampler_current_rate_ratio(resampler);
}
Expand Down

0 comments on commit f84d888

Please sign in to comment.