fix: fmt
oh bro ofc
This commit is contained in:
parent
7248f942e7
commit
e125ca19be
@ -143,7 +143,7 @@ const fn abs_max(a: f64, b: f64) -> f64 {
|
||||
a.abs().max(b.abs())
|
||||
}
|
||||
|
||||
fn to_long(value: f64) -> i64 {
|
||||
fn to_long(value: f64) -> i64 {
|
||||
((value.mul_add(0.5, 0.5) * MAX_15_BIT_VALUE).round() as i64).clamp(0, 32766)
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user