Fix alsa in some configs outputting bad audio
This was introduced in 6b91485 and could cause issues with some alsa
configurations like that of pipewire-alsa which caused the audio to be
become weirdly distorted
This commit is contained in:
parent
5cfa09042c
commit
52821d9c37
2 changed files with 2 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue