- Move buffer allocation per-batch - Convert and write per batch - Fix saved_samples gap handling bug