diff --git a/Cargo.toml b/Cargo.toml index aa593e0..dfb4cfa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cpal" -version = "0.13.2" +version = "0.13.3" authors = ["The CPAL contributors", "Pierre Krieger "] description = "Low-level cross-platform audio I/O library in pure Rust." repository = "https://github.com/rustaudio/cpal" diff --git a/src/host/alsa/mod.rs b/src/host/alsa/mod.rs index 6857205..bde086a 100644 --- a/src/host/alsa/mod.rs +++ b/src/host/alsa/mod.rs @@ -619,10 +619,7 @@ fn output_stream_worker( .unwrap_or(PollDescriptorsFlow::Continue); match flow { - PollDescriptorsFlow::Continue => { - report_error(stream.channel.prepare(), error_callback); - continue; - } + PollDescriptorsFlow::Continue => continue, PollDescriptorsFlow::XRun => { report_error(stream.channel.prepare(), error_callback); continue;