style(host/pad-audio): drop a redundant f32 cast in the tone devtest

clippy's `unnecessary_cast` fires on it, which fails CI's -D warnings.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-03 11:15:48 +02:00
co-authored by Claude Opus 5
parent 143454590f
commit 0d0e7e6861
@@ -1615,7 +1615,7 @@ pub(crate) fn render_test_tone(endpoint_id: &str, seconds: u32, hz: f32) -> Resu
continue;
}
for f in 0..n {
let s = (phase.sin() * 0.5) as f32;
let s = phase.sin() * 0.5;
phase += step;
if phase >= std::f32::consts::TAU {
phase -= std::f32::consts::TAU;