Out-of-range PCM positions made ReadSamples() compute a huge size and write past the output, and sampleFrac/pitch/curSample index fixed buffers. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>