aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerBufferState.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerBufferState.cs')
-rw-r--r--Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerBufferState.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerBufferState.cs b/Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerBufferState.cs
new file mode 100644
index 00000000..a45fa8e5
--- /dev/null
+++ b/Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerBufferState.cs
@@ -0,0 +1,14 @@
+using Ryujinx.Common.Memory;
+
+namespace Ryujinx.Audio.Renderer.Server.Upsampler
+{
+ public struct UpsamplerBufferState
+ {
+ public const int HistoryLength = 20;
+
+ public float Scale;
+ public Array20<float> History;
+ public bool Initialized;
+ public int Phase;
+ }
+} \ No newline at end of file