summaryrefslogtreecommitdiffstats
path: root/src/audio_core/renderer/command/command_list_header.h
blob: 988530b1f419c3130db8ec10e4becc7e99c74e32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include <span>

#include "audio_core/common/common.h"
#include "common/common_types.h"

namespace AudioCore::AudioRenderer {

struct CommandListHeader {
    u64 buffer_size;
    u32 command_count;
    std::span<s32> samples_buffer;
    s16 buffer_count;
    u32 sample_count;
    u32 sample_rate;
};

} // namespace AudioCore::AudioRenderer