aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/device/audio_buffer.h
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2022-08-01 02:58:13 +0100
committerKelebek1 <eeeedddccc@hotmail.co.uk>2022-09-02 04:43:04 +0100
commitc3e3874d8d8964cf1ea278d3239def2d4c29d8ef (patch)
tree512cce0fea5eb511aa7803bc67f741815885bfcb /src/audio_core/device/audio_buffer.h
parentaf222dc9248486e203eef2a8d6009142c851ee51 (diff)
Rework audio output, connecting AudioOut into coretiming to fix desync during heavy loads.
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 cae7fa9704..7128ef72a7 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.