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