aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Audio/Renderer/Common
diff options
context:
space:
mode:
authorMary-nyan <mary@mary.zone>2022-07-25 20:46:33 +0200
committerGitHub <noreply@github.com>2022-07-25 15:46:33 -0300
commit1825bd87b4f0709ab79ed407f6c267ba3545456e (patch)
tree3309fa4aea0cb8d17715a3ee5f5e04acd376681f /Ryujinx.Audio/Renderer/Common
parent62f8ceb60b969db65a24d312dde7c6513a07ec46 (diff)
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.
Diffstat (limited to 'Ryujinx.Audio/Renderer/Common')
-rw-r--r--Ryujinx.Audio/Renderer/Common/AuxiliaryBufferAddresses.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Common/BehaviourParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Common/EdgeMatrix.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Common/EffectType.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Common/MemoryPoolUserState.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Common/NodeIdHelper.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Common/NodeIdType.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Common/NodeStates.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Common/PerformanceDetailType.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Common/PerformanceEntryType.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Common/PlayState.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Common/ReverbEarlyMode.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Common/ReverbLateMode.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Common/SinkType.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Common/UpdateDataHeader.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Common/VoiceUpdateState.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Common/WaveBuffer.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Common/WorkBufferAllocator.cs6
18 files changed, 20 insertions, 20 deletions
diff --git a/Ryujinx.Audio/Renderer/Common/AuxiliaryBufferAddresses.cs b/Ryujinx.Audio/Renderer/Common/AuxiliaryBufferAddresses.cs
index b7b97d5d..96647405 100644
--- a/Ryujinx.Audio/Renderer/Common/AuxiliaryBufferAddresses.cs
+++ b/Ryujinx.Audio/Renderer/Common/AuxiliaryBufferAddresses.cs
@@ -10,4 +10,4 @@ namespace Ryujinx.Audio.Renderer.Common
public ulong ReturnBufferInfo;
public ulong ReturnBufferInfoBase;
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Common/BehaviourParameter.cs b/Ryujinx.Audio/Renderer/Common/BehaviourParameter.cs
index 02558883..270f84d5 100644
--- a/Ryujinx.Audio/Renderer/Common/BehaviourParameter.cs
+++ b/Ryujinx.Audio/Renderer/Common/BehaviourParameter.cs
@@ -47,4 +47,4 @@ namespace Ryujinx.Audio.Renderer.Common
public ulong ExtraErrorInfo;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Common/EdgeMatrix.cs b/Ryujinx.Audio/Renderer/Common/EdgeMatrix.cs
index 3beb6239..24a9350f 100644
--- a/Ryujinx.Audio/Renderer/Common/EdgeMatrix.cs
+++ b/Ryujinx.Audio/Renderer/Common/EdgeMatrix.cs
@@ -147,4 +147,4 @@ namespace Ryujinx.Audio.Renderer.Common
return _nodeCount;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Common/EffectType.cs b/Ryujinx.Audio/Renderer/Common/EffectType.cs
index 63e51ea6..2c50b9eb 100644
--- a/Ryujinx.Audio/Renderer/Common/EffectType.cs
+++ b/Ryujinx.Audio/Renderer/Common/EffectType.cs
@@ -50,4 +50,4 @@ namespace Ryujinx.Audio.Renderer.Common
/// </summary>
CaptureBuffer
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Common/MemoryPoolUserState.cs b/Ryujinx.Audio/Renderer/Common/MemoryPoolUserState.cs
index 12fb9427..590731c3 100644
--- a/Ryujinx.Audio/Renderer/Common/MemoryPoolUserState.cs
+++ b/Ryujinx.Audio/Renderer/Common/MemoryPoolUserState.cs
@@ -40,4 +40,4 @@ namespace Ryujinx.Audio.Renderer.Common
/// </summary>
Released = 6
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Common/NodeIdHelper.cs b/Ryujinx.Audio/Renderer/Common/NodeIdHelper.cs
index 76fba54b..a999e3ad 100644
--- a/Ryujinx.Audio/Renderer/Common/NodeIdHelper.cs
+++ b/Ryujinx.Audio/Renderer/Common/NodeIdHelper.cs
@@ -25,4 +25,4 @@ namespace Ryujinx.Audio.Renderer.Common
return (nodeId >> 16) & 0xFFF;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Common/NodeIdType.cs b/Ryujinx.Audio/Renderer/Common/NodeIdType.cs
index 26c24ce4..69b58f6b 100644
--- a/Ryujinx.Audio/Renderer/Common/NodeIdType.cs
+++ b/Ryujinx.Audio/Renderer/Common/NodeIdType.cs
@@ -30,4 +30,4 @@ namespace Ryujinx.Audio.Renderer.Common
/// </summary>
Performance = 15
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Common/NodeStates.cs b/Ryujinx.Audio/Renderer/Common/NodeStates.cs
index 8ed61fb2..45748d60 100644
--- a/Ryujinx.Audio/Renderer/Common/NodeStates.cs
+++ b/Ryujinx.Audio/Renderer/Common/NodeStates.cs
@@ -226,4 +226,4 @@ namespace Ryujinx.Audio.Renderer.Common
return true;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Common/PerformanceDetailType.cs b/Ryujinx.Audio/Renderer/Common/PerformanceDetailType.cs
index 83cbd5d6..8467ed8d 100644
--- a/Ryujinx.Audio/Renderer/Common/PerformanceDetailType.cs
+++ b/Ryujinx.Audio/Renderer/Common/PerformanceDetailType.cs
@@ -16,4 +16,4 @@ namespace Ryujinx.Audio.Renderer.Common
Limiter,
CaptureBuffer
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Common/PerformanceEntryType.cs b/Ryujinx.Audio/Renderer/Common/PerformanceEntryType.cs
index e7ce0557..bde72aae 100644
--- a/Ryujinx.Audio/Renderer/Common/PerformanceEntryType.cs
+++ b/Ryujinx.Audio/Renderer/Common/PerformanceEntryType.cs
@@ -8,4 +8,4 @@ namespace Ryujinx.Audio.Renderer.Common
FinalMix,
Sink
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Common/PlayState.cs b/Ryujinx.Audio/Renderer/Common/PlayState.cs
index 3ae19374..4a6929e0 100644
--- a/Ryujinx.Audio/Renderer/Common/PlayState.cs
+++ b/Ryujinx.Audio/Renderer/Common/PlayState.cs
@@ -20,4 +20,4 @@ namespace Ryujinx.Audio.Renderer.Common
/// </summary>
Pause
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Common/ReverbEarlyMode.cs b/Ryujinx.Audio/Renderer/Common/ReverbEarlyMode.cs
index 969f4fe7..aa768562 100644
--- a/Ryujinx.Audio/Renderer/Common/ReverbEarlyMode.cs
+++ b/Ryujinx.Audio/Renderer/Common/ReverbEarlyMode.cs
@@ -30,4 +30,4 @@ namespace Ryujinx.Audio.Renderer.Common
/// </summary>
Disabled
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Common/ReverbLateMode.cs b/Ryujinx.Audio/Renderer/Common/ReverbLateMode.cs
index 592585b0..8aa88165 100644
--- a/Ryujinx.Audio/Renderer/Common/ReverbLateMode.cs
+++ b/Ryujinx.Audio/Renderer/Common/ReverbLateMode.cs
@@ -35,4 +35,4 @@ namespace Ryujinx.Audio.Renderer.Common
/// </summary>
Limit = NoDelay
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Common/SinkType.cs b/Ryujinx.Audio/Renderer/Common/SinkType.cs
index 7d7a3607..2e17201e 100644
--- a/Ryujinx.Audio/Renderer/Common/SinkType.cs
+++ b/Ryujinx.Audio/Renderer/Common/SinkType.cs
@@ -20,4 +20,4 @@ namespace Ryujinx.Audio.Renderer.Common
/// </summary>
CircularBuffer
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Common/UpdateDataHeader.cs b/Ryujinx.Audio/Renderer/Common/UpdateDataHeader.cs
index df085557..70dbfa94 100644
--- a/Ryujinx.Audio/Renderer/Common/UpdateDataHeader.cs
+++ b/Ryujinx.Audio/Renderer/Common/UpdateDataHeader.cs
@@ -30,4 +30,4 @@ namespace Ryujinx.Audio.Renderer.Common
TotalSize = (uint)Unsafe.SizeOf<UpdateDataHeader>();
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Common/VoiceUpdateState.cs b/Ryujinx.Audio/Renderer/Common/VoiceUpdateState.cs
index 608381af..f52c2f4c 100644
--- a/Ryujinx.Audio/Renderer/Common/VoiceUpdateState.cs
+++ b/Ryujinx.Audio/Renderer/Common/VoiceUpdateState.cs
@@ -101,4 +101,4 @@ namespace Ryujinx.Audio.Renderer.Common
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Common/WaveBuffer.cs b/Ryujinx.Audio/Renderer/Common/WaveBuffer.cs
index 9c38fa48..0d00e838 100644
--- a/Ryujinx.Audio/Renderer/Common/WaveBuffer.cs
+++ b/Ryujinx.Audio/Renderer/Common/WaveBuffer.cs
@@ -79,4 +79,4 @@ namespace Ryujinx.Audio.Renderer.Common
/// </summary>
private ushort _padding;
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Common/WorkBufferAllocator.cs b/Ryujinx.Audio/Renderer/Common/WorkBufferAllocator.cs
index e1b4e352..922ce4e3 100644
--- a/Ryujinx.Audio/Renderer/Common/WorkBufferAllocator.cs
+++ b/Ryujinx.Audio/Renderer/Common/WorkBufferAllocator.cs
@@ -41,7 +41,7 @@ namespace Ryujinx.Audio.Renderer.Common
return Memory<byte>.Empty;
}
- public Memory<T> Allocate<T>(ulong count, int align) where T: unmanaged
+ public Memory<T> Allocate<T>(ulong count, int align) where T : unmanaged
{
Memory<byte> allocatedMemory = Allocate((ulong)Unsafe.SizeOf<T>() * count, align);
@@ -53,9 +53,9 @@ namespace Ryujinx.Audio.Renderer.Common
return SpanMemoryManager<T>.Cast(allocatedMemory);
}
- public static ulong GetTargetSize<T>(ulong currentSize, ulong count, int align) where T: unmanaged
+ public static ulong GetTargetSize<T>(ulong currentSize, ulong count, int align) where T : unmanaged
{
return BitUtils.AlignUp(currentSize, align) + (ulong)Unsafe.SizeOf<T>() * count;
}
}
-}
+} \ No newline at end of file