Wip: refacto
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user