serenity-rs / songbird

An async Rust library for the Discord voice API
ISC License
394 stars 116 forks source link

Driver: Add toggle for softclip #137

Closed FelixMcFelix closed 2 years ago

FelixMcFelix commented 2 years ago

This adds the use_softclip field to Config, which can currently provide a ~10us reduction in mixing cost from both a removed memcpy and the softclip itself.

This PR was tested using cargo make ready.

Closes #134.