aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/device/audio_buffer.h
diff options
context:
space:
mode:
authorFeng Chen <VonChenPlus@gmail.com>2022-09-20 11:56:43 +0800
committerGitHub <noreply@github.com>2022-09-20 11:56:43 +0800
commitc864cb57726e76e9dc4558036f3212168bec825d (patch)
treeca79c4397f40990488a7b5691e15c0fcfec507b6 /src/audio_core/device/audio_buffer.h
parent9a95c7fa14bdfc14aacea92896c8ae8533918fe8 (diff)
parent8d4458ef24e473e57b9931d7a9d1442b51fb0b1a (diff)
Merge branch 'master' into mipmap
Diffstat (limited to 'src/audio_core/device/audio_buffer.h')
-rw-r--r--src/audio_core/device/audio_buffer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/audio_core/device/audio_buffer.h b/src/audio_core/device/audio_buffer.h
index cae7fa970..7128ef72a 100644
--- a/src/audio_core/device/audio_buffer.h
+++ b/src/audio_core/device/audio_buffer.h
@@ -8,6 +8,10 @@
namespace AudioCore {
struct AudioBuffer {
+ /// Timestamp this buffer started playing.
+ u64 start_timestamp;
+ /// Timestamp this buffer should finish playing.
+ u64 end_timestamp;
/// Timestamp this buffer completed playing.
s64 played_timestamp;
/// Game memory address for these samples.