From 4154d0d1fb8d82ca2a4c543c10e1f24098cf8a6c Mon Sep 17 00:00:00 2001 From: crueter Date: Tue, 1 Sep 2026 18:45:45 -0400 Subject: [PATCH] Improve padding Signed-off-by: crueter --- src/audio_core/adsp/apps/opus/opus_decoder.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/audio_core/adsp/apps/opus/opus_decoder.h b/src/audio_core/adsp/apps/opus/opus_decoder.h index 2c4342c638..f76345d8f3 100644 --- a/src/audio_core/adsp/apps/opus/opus_decoder.h +++ b/src/audio_core/adsp/apps/opus/opus_decoder.h @@ -77,22 +77,23 @@ private: */ void Main(std::stop_token stop_token); - /// Core system - Core::System& system; /// Mailbox to communicate messages with the host, drives the main thread Mailbox mailbox; + /// Core system + Core::System& system; + /// Structure shared with the host, input data set by the host before sending a mailbox message, + /// and the responses are written back by the OpusDecoder. + SharedMemory* shared_memory{}; /// Init thread std::jthread init_thread{}; /// Main thread std::jthread main_thread{}; - /// The current state - bool running{}; - /// Structure shared with the host, input data set by the host before sending a mailbox message, - /// and the responses are written back by the OpusDecoder. - SharedMemory* shared_memory{}; ::Common::unordered_map decode_objects; ::Common::unordered_map ms_decode_objects; + + /// The current state + bool running{}; }; } // namespace AudioCore::ADSP::OpusDecoder