From c9195f997f3e797f03ab90464e4158717198a167 Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 8 Feb 2026 07:40:29 +0100 Subject: style: Apply clang-format to all source files --- src/audio/ring_buffer.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/audio/ring_buffer.h') diff --git a/src/audio/ring_buffer.h b/src/audio/ring_buffer.h index 324447a..80b375f 100644 --- a/src/audio/ring_buffer.h +++ b/src/audio/ring_buffer.h @@ -54,8 +54,9 @@ class AudioRingBuffer { float buffer_[RING_BUFFER_CAPACITY_SAMPLES]; int capacity_; // Total capacity in samples - std::atomic write_pos_; // Write position (0 to capacity-1) - std::atomic read_pos_; // Read position (0 to capacity-1) - std::atomic total_read_; // Total samples read (for playback time) - std::atomic total_written_; // Total samples written (for render timing) + std::atomic write_pos_; // Write position (0 to capacity-1) + std::atomic read_pos_; // Read position (0 to capacity-1) + std::atomic total_read_; // Total samples read (for playback time) + std::atomic + total_written_; // Total samples written (for render timing) }; -- cgit v1.2.3