Clamp samples_written to samples_read on non-frequency sources