Sebastian Krüger
0d43d73014
fix: cleanup round - full width layout and paste operation bug
Fixed two issues:
1. Made audio editor full width by removing max-w-6xl wrapper
2. Fixed insertBufferSegment bug where paste operation had incorrect
target buffer indexing causing corrupted audio after paste
Changes:
- app/page.tsx: Removed max-w-6xl constraint for full-width editor
- lib/audio/buffer-utils.ts: Fixed paste buffer copying logic
* Corrected target index calculation in "copy after insert point" loop
* Was: targetData[insertBuffer.length + i] = sourceData[i]
* Now: targetData[insertSample + insertBuffer.length + (i - insertSample)] = sourceData[i]
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 17:13:25 +01:00
..
2025-11-17 17:13:25 +01:00
2025-11-17 17:08:31 +01:00
2025-11-17 17:08:31 +01:00
2025-11-17 15:23:00 +01:00
2025-11-17 15:23:00 +01:00
2025-11-17 15:32:00 +01:00