Skip to content

Commit

Permalink
Removed a thinko and unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
iluvcapra committed Jul 14, 2024
1 parent aa2edb3 commit 9be1df5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/source/linear_ramp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ where

LinearGainRamp {
input,
elapsed_ns: duration_nanos as f32,
total_ns: duration_nanos as f32,
elapsed_ns: 0.0f32,
total_ns: duration_nanos,
start_gain,
end_gain,
clamp_end,
Expand Down

0 comments on commit 9be1df5

Please sign in to comment.