summaryrefslogtreecommitdiffstats
path: root/src/audio_core/adsp/apps/audio_renderer/command_buffer.h
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2024-01-28 18:45:01 +0100
committerKelebek1 <eeeedddccc@hotmail.co.uk>2024-01-28 19:51:43 +0100
commit19a2f12692f2ba871b4bec7c56757a455bf03e7d (patch)
tree52aa105751bffd4b9bb671e307c3922bc0d0a6a0 /src/audio_core/adsp/apps/audio_renderer/command_buffer.h
parentMerge pull request #12808 from t895/uri-moment (diff)
downloadyuzu-19a2f12692f2ba871b4bec7c56757a455bf03e7d.tar
yuzu-19a2f12692f2ba871b4bec7c56757a455bf03e7d.tar.gz
yuzu-19a2f12692f2ba871b4bec7c56757a455bf03e7d.tar.bz2
yuzu-19a2f12692f2ba871b4bec7c56757a455bf03e7d.tar.lz
yuzu-19a2f12692f2ba871b4bec7c56757a455bf03e7d.tar.xz
yuzu-19a2f12692f2ba871b4bec7c56757a455bf03e7d.tar.zst
yuzu-19a2f12692f2ba871b4bec7c56757a455bf03e7d.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.h5
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{};