From 1825bd87b4f0709ab79ed407f6c267ba3545456e Mon Sep 17 00:00:00 2001 From: Mary-nyan Date: Mon, 25 Jul 2022 20:46:33 +0200 Subject: misc: Reformat Ryujinx.Audio with dotnet-format (#3485) This is the first commit of a series of reformat around the codebase as discussed internally some weeks ago. This project being one that isn't touched that much, it shouldn't cause conflict with any opened PRs. --- Ryujinx.Audio/Renderer/Utils/AudioProcessorMemoryManager.cs | 5 ++--- Ryujinx.Audio/Renderer/Utils/BitArray.cs | 2 +- Ryujinx.Audio/Renderer/Utils/FileHardwareDevice.cs | 2 +- Ryujinx.Audio/Renderer/Utils/Mailbox.cs | 2 +- Ryujinx.Audio/Renderer/Utils/Math/Matrix2x2.cs | 2 +- Ryujinx.Audio/Renderer/Utils/Math/Matrix6x6.cs | 2 +- Ryujinx.Audio/Renderer/Utils/Math/MatrixHelper.cs | 2 +- Ryujinx.Audio/Renderer/Utils/Math/Vector6.cs | 2 +- Ryujinx.Audio/Renderer/Utils/SpanIOHelper.cs | 2 +- Ryujinx.Audio/Renderer/Utils/SpanMemoryManager.cs | 2 +- Ryujinx.Audio/Renderer/Utils/SplitterHardwareDevice.cs | 2 +- 11 files changed, 12 insertions(+), 13 deletions(-) (limited to 'Ryujinx.Audio/Renderer/Utils') diff --git a/Ryujinx.Audio/Renderer/Utils/AudioProcessorMemoryManager.cs b/Ryujinx.Audio/Renderer/Utils/AudioProcessorMemoryManager.cs index b9dba7ee..973f0672 100644 --- a/Ryujinx.Audio/Renderer/Utils/AudioProcessorMemoryManager.cs +++ b/Ryujinx.Audio/Renderer/Utils/AudioProcessorMemoryManager.cs @@ -1,7 +1,6 @@ using System.Runtime.CompilerServices; - -using DspAddress = System.UInt64; using CpuAddress = System.UInt64; +using DspAddress = System.UInt64; namespace Ryujinx.Audio.Renderer.Utils { @@ -55,4 +54,4 @@ namespace Ryujinx.Audio.Renderer.Utils { } } -} +} \ No newline at end of file diff --git a/Ryujinx.Audio/Renderer/Utils/BitArray.cs b/Ryujinx.Audio/Renderer/Utils/BitArray.cs index a9c8210f..8b105477 100644 --- a/Ryujinx.Audio/Renderer/Utils/BitArray.cs +++ b/Ryujinx.Audio/Renderer/Utils/BitArray.cs @@ -100,4 +100,4 @@ namespace Ryujinx.Audio.Renderer.Utils _storage.Span.Fill(0); } } -} +} \ No newline at end of file diff --git a/Ryujinx.Audio/Renderer/Utils/FileHardwareDevice.cs b/Ryujinx.Audio/Renderer/Utils/FileHardwareDevice.cs index fb5c687e..830b36ee 100644 --- a/Ryujinx.Audio/Renderer/Utils/FileHardwareDevice.cs +++ b/Ryujinx.Audio/Renderer/Utils/FileHardwareDevice.cs @@ -96,4 +96,4 @@ namespace Ryujinx.Audio.Renderer.Utils } } } -} +} \ No newline at end of file diff --git a/Ryujinx.Audio/Renderer/Utils/Mailbox.cs b/Ryujinx.Audio/Renderer/Utils/Mailbox.cs index 06048918..35c71ae3 100644 --- a/Ryujinx.Audio/Renderer/Utils/Mailbox.cs +++ b/Ryujinx.Audio/Renderer/Utils/Mailbox.cs @@ -52,4 +52,4 @@ namespace Ryujinx.Audio.Renderer.Utils } } } -} +} \ No newline at end of file diff --git a/Ryujinx.Audio/Renderer/Utils/Math/Matrix2x2.cs b/Ryujinx.Audio/Renderer/Utils/Math/Matrix2x2.cs index 7a6edab1..5b513aff 100644 --- a/Ryujinx.Audio/Renderer/Utils/Math/Matrix2x2.cs +++ b/Ryujinx.Audio/Renderer/Utils/Math/Matrix2x2.cs @@ -68,4 +68,4 @@ namespace Ryujinx.Audio.Renderer.Utils.Math return m; } } -} +} \ No newline at end of file diff --git a/Ryujinx.Audio/Renderer/Utils/Math/Matrix6x6.cs b/Ryujinx.Audio/Renderer/Utils/Math/Matrix6x6.cs index ff012302..415a81fd 100644 --- a/Ryujinx.Audio/Renderer/Utils/Math/Matrix6x6.cs +++ b/Ryujinx.Audio/Renderer/Utils/Math/Matrix6x6.cs @@ -94,4 +94,4 @@ namespace Ryujinx.Audio.Renderer.Utils.Math M66 = m66; } } -} +} \ No newline at end of file diff --git a/Ryujinx.Audio/Renderer/Utils/Math/MatrixHelper.cs b/Ryujinx.Audio/Renderer/Utils/Math/MatrixHelper.cs index 66092e2b..209a81c4 100644 --- a/Ryujinx.Audio/Renderer/Utils/Math/MatrixHelper.cs +++ b/Ryujinx.Audio/Renderer/Utils/Math/MatrixHelper.cs @@ -42,4 +42,4 @@ namespace Ryujinx.Audio.Renderer.Dsp }; } } -} +} \ No newline at end of file diff --git a/Ryujinx.Audio/Renderer/Utils/Math/Vector6.cs b/Ryujinx.Audio/Renderer/Utils/Math/Vector6.cs index 303c5e9d..81bcb698 100644 --- a/Ryujinx.Audio/Renderer/Utils/Math/Vector6.cs +++ b/Ryujinx.Audio/Renderer/Utils/Math/Vector6.cs @@ -53,4 +53,4 @@ namespace Ryujinx.Audio.Renderer.Utils.Math return left * new Vector6(right); } } -} +} \ No newline at end of file diff --git a/Ryujinx.Audio/Renderer/Utils/SpanIOHelper.cs b/Ryujinx.Audio/Renderer/Utils/SpanIOHelper.cs index e459929c..103fb6a0 100644 --- a/Ryujinx.Audio/Renderer/Utils/SpanIOHelper.cs +++ b/Ryujinx.Audio/Renderer/Utils/SpanIOHelper.cs @@ -168,4 +168,4 @@ namespace Ryujinx.Audio.Renderer.Utils return ref GetMemory(memory, id, count).Span[0]; } } -} +} \ No newline at end of file diff --git a/Ryujinx.Audio/Renderer/Utils/SpanMemoryManager.cs b/Ryujinx.Audio/Renderer/Utils/SpanMemoryManager.cs index b0f38faa..2c48da6a 100644 --- a/Ryujinx.Audio/Renderer/Utils/SpanMemoryManager.cs +++ b/Ryujinx.Audio/Renderer/Utils/SpanMemoryManager.cs @@ -40,4 +40,4 @@ namespace Ryujinx.Audio.Renderer.Utils return new SpanMemoryManager(MemoryMarshal.Cast(memory.Span)).Memory; } } -} +} \ No newline at end of file diff --git a/Ryujinx.Audio/Renderer/Utils/SplitterHardwareDevice.cs b/Ryujinx.Audio/Renderer/Utils/SplitterHardwareDevice.cs index 08f34fd4..18396078 100644 --- a/Ryujinx.Audio/Renderer/Utils/SplitterHardwareDevice.cs +++ b/Ryujinx.Audio/Renderer/Utils/SplitterHardwareDevice.cs @@ -55,4 +55,4 @@ namespace Ryujinx.Audio.Renderer.Utils } } } -} +} \ No newline at end of file -- cgit v1.2.3