This reverts commit 41884bfcc5. PipeWire can change it's period size on the fly on us making this approach invalid.
41884bfcc5