mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2025-01-27 18:08:22 +01:00
22 lines
478 B
C++
22 lines
478 B
C++
|
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
|
||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "common/common_types.h"
|
||
|
|
||
|
namespace AudioCore {
|
||
|
|
||
|
struct AudioBuffer {
|
||
|
/// Timestamp this buffer completed playing.
|
||
|
s64 played_timestamp;
|
||
|
/// Game memory address for these samples.
|
||
|
VAddr samples;
|
||
|
/// Unqiue identifier for this buffer.
|
||
|
u64 tag;
|
||
|
/// Size of the samples buffer.
|
||
|
u64 size;
|
||
|
};
|
||
|
|
||
|
} // namespace AudioCore
|