songbird icon indicating copy to clipboard operation
songbird copied to clipboard

Driver: remove sample buffer copy for softclip

Open FelixMcFelix opened this issue 2 years ago • 0 comments

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.

FelixMcFelix avatar Aug 01 '22 16:08 FelixMcFelix