From cee712105850ac3385cd0091a923438167433f9f Mon Sep 17 00:00:00 2001
From: TSR Berry <20988865+TSRBerry@users.noreply.github.com>
Date: Sat, 8 Apr 2023 01:22:00 +0200
Subject: Move solution and projects to src
---
src/Ryujinx.Audio/Common/AudioBuffer.cs | 37 +++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 src/Ryujinx.Audio/Common/AudioBuffer.cs
(limited to 'src/Ryujinx.Audio/Common/AudioBuffer.cs')
diff --git a/src/Ryujinx.Audio/Common/AudioBuffer.cs b/src/Ryujinx.Audio/Common/AudioBuffer.cs
new file mode 100644
index 00000000..b79401b7
--- /dev/null
+++ b/src/Ryujinx.Audio/Common/AudioBuffer.cs
@@ -0,0 +1,37 @@
+using Ryujinx.Audio.Integration;
+
+namespace Ryujinx.Audio.Common
+{
+ ///
+ /// Represent an audio buffer that will be used by an .
+ ///
+ public class AudioBuffer
+ {
+ ///
+ /// Unique tag of this buffer.
+ ///
+ /// Unique per session
+ public ulong BufferTag;
+
+ ///
+ /// Pointer to the user samples.
+ ///
+ public ulong DataPointer;
+
+ ///
+ /// Size of the user samples region.
+ ///
+ public ulong DataSize;
+
+ ///
+ /// The timestamp at which the buffer was played.
+ ///
+ /// Not used but useful for debugging
+ public ulong PlayedTimestamp;
+
+ ///
+ /// The user samples.
+ ///
+ public byte[] Data;
+ }
+}
\ No newline at end of file
--
cgit v1.2.3