songbird
songbird copied to clipboard
Driver: remove sample buffer copy for softclip
This PR makes use of SampleBuffer::samples_mut
to remove a 7680B stack allocation in general, and memcopy when softclip is used. This appears to offer ~1.5% performance boost according to cargo make bench
.
This is a draft PR conditioned on the relevant symphonia API change becoming available.