summaryrefslogtreecommitdiff
path: root/servers/audio/effects/audio_effect_capture.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/audio/effects/audio_effect_capture.h')
-rw-r--r--servers/audio/effects/audio_effect_capture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/audio/effects/audio_effect_capture.h b/servers/audio/effects/audio_effect_capture.h
index b154be85de..81d4ed6b0f 100644
--- a/servers/audio/effects/audio_effect_capture.h
+++ b/servers/audio/effects/audio_effect_capture.h
@@ -55,8 +55,8 @@ class AudioEffectCapture : public AudioEffect {
friend class AudioEffectCaptureInstance;
RingBuffer<AudioFrame> buffer;
- uint64_t discarded_frames = 0;
- uint64_t pushed_frames = 0;
+ SafeNumeric<uint64_t> discarded_frames;
+ SafeNumeric<uint64_t> pushed_frames;
float buffer_length_seconds = 0.1f;
bool buffer_initialized = false;