diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-01-28 21:02:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-28 21:02:22 +0100 |
commit | 5561a08d59f816b61ed6fab2131ee5d40cc51db7 (patch) | |
tree | b518bb8b995747b83508eeb0f74acd5a1a5c287a /src/audio_core/adsp/apps/audio_renderer/command_buffer.h | |
parent | Merge pull request #12833 from merryhime/vsync-crash (diff) | |
parent | Use the input process handle to get the correct application's memory (diff) | |
download | yuzu-5561a08d59f816b61ed6fab2131ee5d40cc51db7.tar yuzu-5561a08d59f816b61ed6fab2131ee5d40cc51db7.tar.gz yuzu-5561a08d59f816b61ed6fab2131ee5d40cc51db7.tar.bz2 yuzu-5561a08d59f816b61ed6fab2131ee5d40cc51db7.tar.lz yuzu-5561a08d59f816b61ed6fab2131ee5d40cc51db7.tar.xz yuzu-5561a08d59f816b61ed6fab2131ee5d40cc51db7.tar.zst yuzu-5561a08d59f816b61ed6fab2131ee5d40cc51db7.zip |
Diffstat (limited to 'src/audio_core/adsp/apps/audio_renderer/command_buffer.h')
-rw-r--r-- | src/audio_core/adsp/apps/audio_renderer/command_buffer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/audio_core/adsp/apps/audio_renderer/command_buffer.h b/src/audio_core/adsp/apps/audio_renderer/command_buffer.h index 3fd1b09dc..d6a721f34 100644 --- a/src/audio_core/adsp/apps/audio_renderer/command_buffer.h +++ b/src/audio_core/adsp/apps/audio_renderer/command_buffer.h @@ -6,6 +6,10 @@ #include "audio_core/common/common.h" #include "common/common_types.h" +namespace Kernel { +class KProcess; +} + namespace AudioCore::ADSP::AudioRenderer { struct CommandBuffer { @@ -14,6 +18,7 @@ struct CommandBuffer { u64 size{}; u64 time_limit{}; u64 applet_resource_user_id{}; + Kernel::KProcess* process{}; bool reset_buffer{}; // Set by the DSP u32 remaining_command_count{}; |