Merge pull request #562 from JCapucho/fix-alsa-distortion
Fix alsa in some configs outputting bad audio
This commit is contained in:
commit
5837ceb58f
2 changed files with 2 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "cpal"
|
name = "cpal"
|
||||||
version = "0.13.2"
|
version = "0.13.3"
|
||||||
authors = ["The CPAL contributors", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
authors = ["The CPAL contributors", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
||||||
description = "Low-level cross-platform audio I/O library in pure Rust."
|
description = "Low-level cross-platform audio I/O library in pure Rust."
|
||||||
repository = "https://github.com/rustaudio/cpal"
|
repository = "https://github.com/rustaudio/cpal"
|
||||||
|
|
|
||||||
|
|
@ -619,10 +619,7 @@ fn output_stream_worker(
|
||||||
.unwrap_or(PollDescriptorsFlow::Continue);
|
.unwrap_or(PollDescriptorsFlow::Continue);
|
||||||
|
|
||||||
match flow {
|
match flow {
|
||||||
PollDescriptorsFlow::Continue => {
|
PollDescriptorsFlow::Continue => continue,
|
||||||
report_error(stream.channel.prepare(), error_callback);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
PollDescriptorsFlow::XRun => {
|
PollDescriptorsFlow::XRun => {
|
||||||
report_error(stream.channel.prepare(), error_callback);
|
report_error(stream.channel.prepare(), error_callback);
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue