Skip to content

Commit 2f18c53

Browse files
committed
PipeWire: Fix a bug with non-blocking mode.
1 parent e97ab1e commit 2f18c53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extras/backends/pipewire/miniaudio_pipewire.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1666,7 +1666,7 @@ static ma_result ma_device_step__pipewire(ma_device* pDevice, ma_blocking_mode b
16661666
}
16671667
}
16681668

1669-
if (hasProcessedData) {
1669+
if (hasProcessedData || blockingMode == MA_BLOCKING_MODE_NON_BLOCKING) {
16701670
break;
16711671
}
16721672
}

0 commit comments

Comments
 (0)