I tested your supplied code with Pipewire 0.3.63-1, and reproduced the bug.
- Bug#1027762: Regression Pipewire 0.63 breaks underruns breaki... Sam Hartman
- Bug#1027762: Acknowledgement (Regression Pipewire 0.63 b... Sam Hartman
- Bug#1027762: Regression Pipewire 0.63 breaks underruns b... Jason White
- Bug#1027762: Regression Pipewire 0.3.63 pulse drain hand... Sam Hartman