diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-09-06 15:13:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-06 15:13:06 +0200 |
commit | 69949e7964effcdfc5f101cadaf95d7c430ae677 (patch) | |
tree | 30961426a1e754309e1bf8760df1fea4e51bdef8 /src/audio_core/adsp/apps/audio_renderer/command_list_processor.h | |
parent | Merge pull request #11434 from danilaml/fix-warnings (diff) | |
parent | Rework ADSP into a wrapper for apps (diff) | |
download | yuzu-69949e7964effcdfc5f101cadaf95d7c430ae677.tar yuzu-69949e7964effcdfc5f101cadaf95d7c430ae677.tar.gz yuzu-69949e7964effcdfc5f101cadaf95d7c430ae677.tar.bz2 yuzu-69949e7964effcdfc5f101cadaf95d7c430ae677.tar.lz yuzu-69949e7964effcdfc5f101cadaf95d7c430ae677.tar.xz yuzu-69949e7964effcdfc5f101cadaf95d7c430ae677.tar.zst yuzu-69949e7964effcdfc5f101cadaf95d7c430ae677.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio_core/adsp/apps/audio_renderer/command_list_processor.h (renamed from src/audio_core/renderer/adsp/command_list_processor.h) | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/audio_core/renderer/adsp/command_list_processor.h b/src/audio_core/adsp/apps/audio_renderer/command_list_processor.h index d78269e1d..9d6fe1851 100644 --- a/src/audio_core/renderer/adsp/command_list_processor.h +++ b/src/audio_core/adsp/apps/audio_renderer/command_list_processor.h @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project +// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #pragma once @@ -6,6 +6,7 @@ #include <span> #include "audio_core/common/common.h" +#include "audio_core/renderer/command/command_list_header.h" #include "common/common_types.h" namespace Core { @@ -20,10 +21,11 @@ namespace Sink { class SinkStream; } -namespace AudioRenderer { +namespace Renderer { struct CommandListHeader; +} -namespace ADSP { +namespace ADSP::AudioRenderer { /** * A processor for command lists given to the AudioRenderer. @@ -85,7 +87,7 @@ public: /// Stream for the processed samples Sink::SinkStream* stream{}; /// Header info for this command list - CommandListHeader* header{}; + Renderer::CommandListHeader* header{}; /// The command buffer u8* commands{}; /// The command buffer size @@ -114,6 +116,5 @@ public: std::string last_dump{}; }; -} // namespace ADSP -} // namespace AudioRenderer +} // namespace ADSP::AudioRenderer } // namespace AudioCore |