Skip to content

Commit

Permalink
0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
edwloef committed Oct 14, 2024
1 parent 6662ab2 commit 34c2833
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dcc"
version = "0.1.2"
version = "0.1.3"
edition = "2021"
license = "GPL-3.0-only"

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ impl Plugin for Dcc {

for sample in channel_samples {
*sample = (((*sample).mul_add(pregain, offset - skew).clamp(-1.0, 1.0)
- (offset - skew))
- (offset - skew).clamp(-1.0, 1.0))
* postgain)
.clamp(-1.0, 1.0);

Expand Down

0 comments on commit 34c2833

Please sign in to comment.