Wip: refacto

This commit is contained in:
2026-01-25 22:17:08 +01:00
parent d2d6ef5b06
commit ce98acacd0
11 changed files with 289 additions and 82 deletions

View File

@@ -139,6 +139,7 @@ pub enum AudioFocus {
pub struct Metrics {
pub event_count: usize,
pub dropped_events: usize,
pub active_voices: usize,
pub peak_voices: usize,
pub cpu_load: f32,
@@ -153,6 +154,7 @@ impl Default for Metrics {
fn default() -> Self {
Self {
event_count: 0,
dropped_events: 0,
active_voices: 0,
peak_voices: 0,
cpu_load: 0.0,