Merge pull request #562 from JCapucho/fix-alsa-distortion

Fix alsa in some configs outputting bad audio
This commit is contained in:
est31 2021-03-29 11:38:20 +02:00 • committed by GitHub
commit 5837ceb58f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View file

@ -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;