command_buffer.h 484 B

123456789101112131415161718192021
  1. // SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #include "audio_core/common/common.h"
  5. #include "common/common_types.h"
  6. namespace AudioCore::AudioRenderer::ADSP {
  7. struct CommandBuffer {
  8. CpuAddr buffer;
  9. u64 size;
  10. u64 time_limit;
  11. u32 remaining_command_count;
  12. bool reset_buffers;
  13. u64 applet_resource_user_id;
  14. u64 render_time_taken;
  15. };
  16. } // namespace AudioCore::AudioRenderer::ADSP