aboutsummaryrefslogtreecommitdiff
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
parent62f8ceb60b969db65a24d312dde7c6513a07ec46 (diff)
misc: Reformat Ryujinx.Audio with dotnet-format (#3485)1.1.192
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.
-rw-r--r--Ryujinx.Audio/AudioManager.cs2
-rw-r--r--Ryujinx.Audio/Backends/Common/BackendHelper.cs2
-rw-r--r--Ryujinx.Audio/Backends/Common/DynamicRingBuffer.cs2
-rw-r--r--Ryujinx.Audio/Backends/Common/HardwareDeviceSessionOutputBase.cs2
-rw-r--r--Ryujinx.Audio/Backends/CompatLayer/CompatLayerHardwareDeviceDriver.cs2
-rw-r--r--Ryujinx.Audio/Backends/CompatLayer/CompatLayerHardwareDeviceSession.cs4
-rw-r--r--Ryujinx.Audio/Backends/CompatLayer/Downmixing.cs18
-rw-r--r--Ryujinx.Audio/Backends/Dummy/DummyHardwareDeviceDriver.cs2
-rw-r--r--Ryujinx.Audio/Backends/Dummy/DummyHardwareDeviceSessionInput.cs2
-rw-r--r--Ryujinx.Audio/Common/AudioBuffer.cs2
-rw-r--r--Ryujinx.Audio/Common/AudioDeviceSession.cs2
-rw-r--r--Ryujinx.Audio/Common/AudioDeviceState.cs2
-rw-r--r--Ryujinx.Audio/Common/AudioInputConfiguration.cs2
-rw-r--r--Ryujinx.Audio/Common/AudioOutputConfiguration.cs2
-rw-r--r--Ryujinx.Audio/Common/AudioUserBuffer.cs2
-rw-r--r--Ryujinx.Audio/Common/SampleFormat.cs2
-rw-r--r--Ryujinx.Audio/Constants.cs2
-rw-r--r--Ryujinx.Audio/Input/AudioInputManager.cs8
-rw-r--r--Ryujinx.Audio/Input/AudioInputSystem.cs2
-rw-r--r--Ryujinx.Audio/Integration/HardwareDeviceImpl.cs6
-rw-r--r--Ryujinx.Audio/Integration/IHardwareDevice.cs2
-rw-r--r--Ryujinx.Audio/Integration/IHardwareDeviceDriver.cs2
-rw-r--r--Ryujinx.Audio/Integration/IHardwareDeviceSession.cs2
-rw-r--r--Ryujinx.Audio/Integration/IWritableEvent.cs2
-rw-r--r--Ryujinx.Audio/Output/AudioOutputManager.cs8
-rw-r--r--Ryujinx.Audio/Output/AudioOutputSystem.cs10
-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
-rw-r--r--Ryujinx.Audio/Renderer/Device/VirtualDevice.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Device/VirtualDeviceSession.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Device/VirtualDeviceSessionRegistry.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/AdpcmHelper.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/AudioProcessor.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/BiquadFilterHelper.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/AdpcmDataSourceCommandVersion1.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/AuxiliaryBufferCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/BiquadFilterCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/CaptureBufferCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/CircularBufferSinkCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/ClearMixBufferCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/CommandList.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/CommandType.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/CopyMixBufferCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/DataSourceVersion2Command.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/DelayCommand.cs26
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/DepopForMixBuffersCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/DepopPrepareCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/DeviceSinkCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/DownMixSurroundToStereoCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/GroupedBiquadFilterCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/ICommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion1.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion2.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/MixCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/MixRampCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/MixRampGroupedCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/PcmFloatDataSourceCommandVersion1.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/PcmInt16DataSourceCommandVersion1.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/PerformanceCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/Reverb3dCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/ReverbCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/UpsampleCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/VolumeCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Command/VolumeRampCommand.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/DataSourceHelper.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Effect/DecayDelay.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Effect/DelayLine.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Effect/DelayLineReverb3d.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/Effect/IDelayLine.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/FixedPointHelper.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/FloatingPointHelper.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/PcmHelper.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/ResamplerHelper.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/State/AdpcmLoopContext.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/State/AuxiliaryBufferHeader.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/State/BiquadFilterState.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/State/DelayState.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/State/LimiterState.cs4
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/State/Reverb3dState.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Dsp/State/ReverbState.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/AudioRendererConfiguration.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/BehaviourErrorInfoOutStatus.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/BiquadFilterParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/Effect/AuxiliaryBufferParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/Effect/BiquadFilterEffectParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/Effect/BufferMixerParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/Effect/DelayParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/Effect/LimiterParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/Effect/LimiterStatistics.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/Effect/Reverb3dParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/Effect/ReverbParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/EffectInParameterVersion1.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/EffectInParameterVersion2.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/EffectOutStatusVersion1.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/EffectOutStatusVersion2.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/EffectResultState.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/EffectState.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/IEffectInParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/IEffectOutStatus.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/MemoryPoolInParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/MemoryPoolOutStatus.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/MixInParameterDirtyOnlyUpdate.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/MixParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/Performance/PerformanceInParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/Performance/PerformanceOutStatus.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/RendererInfoOutStatus.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/Sink/CircularBufferParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/Sink/DeviceParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/SinkInParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/SinkOutStatus.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/SplitterDestinationInParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/SplitterInParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/SplitterInParameterHeader.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/VoiceChannelResourceInParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/VoiceInParameter.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Parameter/VoiceOutStatus.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/AudioRenderSystem.cs72
-rw-r--r--Ryujinx.Audio/Renderer/Server/AudioRendererManager.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/BehaviourContext.cs6
-rw-r--r--Ryujinx.Audio/Renderer/Server/CommandBuffer.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/CommandGenerator.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion1.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion2.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion3.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion4.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion5.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Effect/AuxiliaryBufferEffect.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Effect/BaseEffect.cs10
-rw-r--r--Ryujinx.Audio/Renderer/Server/Effect/BiquadFilterEffect.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Effect/BufferMixEffect.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Effect/CaptureBufferEffect.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Effect/DelayEffect.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Effect/EffectContext.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Effect/LimiterEffect.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Effect/Reverb3dEffect.cs4
-rw-r--r--Ryujinx.Audio/Renderer/Server/Effect/ReverbEffect.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Effect/UsageState.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/ICommandProcessingTimeEstimator.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/MemoryPool/AddressInfo.cs15
-rw-r--r--Ryujinx.Audio/Renderer/Server/MemoryPool/MemoryPoolState.cs11
-rw-r--r--Ryujinx.Audio/Renderer/Server/MemoryPool/PoolMapper.cs6
-rw-r--r--Ryujinx.Audio/Renderer/Server/Mix/MixContext.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Mix/MixState.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Performance/IPerformanceDetailEntry.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Performance/IPerformanceEntry.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Performance/IPerformanceHeader.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Performance/PerformanceDetailVersion1.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Performance/PerformanceDetailVersion2.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Performance/PerformanceEntryAddresses.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Performance/PerformanceEntryVersion1.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Performance/PerformanceEntryVersion2.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Performance/PerformanceFrameHeaderVersion1.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Performance/PerformanceFrameHeaderVersion2.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Performance/PerformanceManager.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Performance/PerformanceManagerGeneric.cs4
-rw-r--r--Ryujinx.Audio/Renderer/Server/RendererSystemContext.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Sink/BaseSink.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Sink/CircularBufferSink.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Sink/DeviceSink.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Sink/SinkContext.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Splitter/SplitterContext.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Splitter/SplitterDestination.cs4
-rw-r--r--Ryujinx.Audio/Renderer/Server/Splitter/SplitterState.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/StateUpdater.cs6
-rw-r--r--Ryujinx.Audio/Renderer/Server/Types/AudioRendererRenderingDevice.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Types/PlayState.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerManager.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerState.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Voice/VoiceChannelResource.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Voice/VoiceContext.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Server/Voice/VoiceState.cs6
-rw-r--r--Ryujinx.Audio/Renderer/Server/Voice/WaveBuffer.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Utils/AudioProcessorMemoryManager.cs5
-rw-r--r--Ryujinx.Audio/Renderer/Utils/BitArray.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Utils/FileHardwareDevice.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Utils/Mailbox.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Utils/Math/Matrix2x2.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Utils/Math/Matrix6x6.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Utils/Math/MatrixHelper.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Utils/Math/Vector6.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Utils/SpanIOHelper.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Utils/SpanMemoryManager.cs2
-rw-r--r--Ryujinx.Audio/Renderer/Utils/SplitterHardwareDevice.cs2
-rw-r--r--Ryujinx.Audio/ResultCode.cs22
200 files changed, 307 insertions, 310 deletions
diff --git a/Ryujinx.Audio/AudioManager.cs b/Ryujinx.Audio/AudioManager.cs
index 67a0d56b..c37ca4a3 100644
--- a/Ryujinx.Audio/AudioManager.cs
+++ b/Ryujinx.Audio/AudioManager.cs
@@ -129,4 +129,4 @@ namespace Ryujinx.Audio
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Backends/Common/BackendHelper.cs b/Ryujinx.Audio/Backends/Common/BackendHelper.cs
index 124d8364..30db340f 100644
--- a/Ryujinx.Audio/Backends/Common/BackendHelper.cs
+++ b/Ryujinx.Audio/Backends/Common/BackendHelper.cs
@@ -23,4 +23,4 @@ namespace Ryujinx.Audio.Backends.Common
return bufferSize / GetSampleSize(format) / channelCount;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Backends/Common/DynamicRingBuffer.cs b/Ryujinx.Audio/Backends/Common/DynamicRingBuffer.cs
index ce329e45..9bf20d4b 100644
--- a/Ryujinx.Audio/Backends/Common/DynamicRingBuffer.cs
+++ b/Ryujinx.Audio/Backends/Common/DynamicRingBuffer.cs
@@ -163,4 +163,4 @@ namespace Ryujinx.Audio.Backends.Common
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Backends/Common/HardwareDeviceSessionOutputBase.cs b/Ryujinx.Audio/Backends/Common/HardwareDeviceSessionOutputBase.cs
index 39c46fdd..6fb3bee0 100644
--- a/Ryujinx.Audio/Backends/Common/HardwareDeviceSessionOutputBase.cs
+++ b/Ryujinx.Audio/Backends/Common/HardwareDeviceSessionOutputBase.cs
@@ -76,4 +76,4 @@ namespace Ryujinx.Audio.Backends.Common
public virtual void UnregisterBuffer(AudioBuffer buffer) { }
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Backends/CompatLayer/CompatLayerHardwareDeviceDriver.cs b/Ryujinx.Audio/Backends/CompatLayer/CompatLayerHardwareDeviceDriver.cs
index c76628af..b6f45a3e 100644
--- a/Ryujinx.Audio/Backends/CompatLayer/CompatLayerHardwareDeviceDriver.cs
+++ b/Ryujinx.Audio/Backends/CompatLayer/CompatLayerHardwareDeviceDriver.cs
@@ -133,4 +133,4 @@ namespace Ryujinx.Audio.Backends.CompatLayer
return direction == Direction.Input || direction == Direction.Output;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Backends/CompatLayer/CompatLayerHardwareDeviceSession.cs b/Ryujinx.Audio/Backends/CompatLayer/CompatLayerHardwareDeviceSession.cs
index 9e4728e5..ff3b0988 100644
--- a/Ryujinx.Audio/Backends/CompatLayer/CompatLayerHardwareDeviceSession.cs
+++ b/Ryujinx.Audio/Backends/CompatLayer/CompatLayerHardwareDeviceSession.cs
@@ -81,7 +81,7 @@ namespace Ryujinx.Audio.Backends.CompatLayer
{
BufferTag = buffer.BufferTag,
DataPointer = buffer.DataPointer,
- DataSize = (ulong)downmixedBuffer.Length
+ DataSize = (ulong)downmixedBuffer.Length
};
bool result = _realSession.RegisterBuffer(fakeBuffer, downmixedBuffer);
@@ -120,4 +120,4 @@ namespace Ryujinx.Audio.Backends.CompatLayer
return _realSession.WasBufferFullyConsumed(buffer);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Backends/CompatLayer/Downmixing.cs b/Ryujinx.Audio/Backends/CompatLayer/Downmixing.cs
index 08f92010..6959c158 100644
--- a/Ryujinx.Audio/Backends/CompatLayer/Downmixing.cs
+++ b/Ryujinx.Audio/Backends/CompatLayer/Downmixing.cs
@@ -24,11 +24,11 @@ namespace Ryujinx.Audio.Backends.CompatLayer
public short Right;
}
- private const int Q15Bits = 16;
- private const int RawQ15One = 1 << Q15Bits;
- private const int RawQ15HalfOne = (int)(0.5f * RawQ15One);
- private const int Minus3dBInQ15 = (int)(0.707f * RawQ15One);
- private const int Minus6dBInQ15 = (int)(0.501f * RawQ15One);
+ private const int Q15Bits = 16;
+ private const int RawQ15One = 1 << Q15Bits;
+ private const int RawQ15HalfOne = (int)(0.5f * RawQ15One);
+ private const int Minus3dBInQ15 = (int)(0.707f * RawQ15One);
+ private const int Minus6dBInQ15 = (int)(0.501f * RawQ15One);
private const int Minus12dBInQ15 = (int)(0.251f * RawQ15One);
private static readonly int[] DefaultSurroundToStereoCoefficients = new int[4]
@@ -46,8 +46,8 @@ namespace Ryujinx.Audio.Backends.CompatLayer
};
private const int SurroundChannelCount = 6;
- private const int StereoChannelCount = 2;
- private const int MonoChannelCount = 1;
+ private const int StereoChannelCount = 2;
+ private const int MonoChannelCount = 1;
[MethodImpl(MethodImplOptions.AggressiveInlining)]
private static ReadOnlySpan<Channel51FormatPCM16> GetSurroundBuffer(ReadOnlySpan<short> data)
@@ -86,7 +86,7 @@ namespace Ryujinx.Audio.Backends.CompatLayer
{
Channel51FormatPCM16 channel = channels[i];
- downmixedBuffer[i * 2] = DownMixSurroundToStereo(coefficients, channel.BackLeft, channel.LowFrequency, channel.FrontCenter, channel.FrontLeft);
+ downmixedBuffer[i * 2] = DownMixSurroundToStereo(coefficients, channel.BackLeft, channel.LowFrequency, channel.FrontCenter, channel.FrontLeft);
downmixedBuffer[i * 2 + 1] = DownMixSurroundToStereo(coefficients, channel.BackRight, channel.LowFrequency, channel.FrontCenter, channel.FrontRight);
}
@@ -122,4 +122,4 @@ namespace Ryujinx.Audio.Backends.CompatLayer
return DownMixSurroundToStereo(DefaultSurroundToStereoCoefficients, data);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Backends/Dummy/DummyHardwareDeviceDriver.cs b/Ryujinx.Audio/Backends/Dummy/DummyHardwareDeviceDriver.cs
index b747c5c3..eecc95f5 100644
--- a/Ryujinx.Audio/Backends/Dummy/DummyHardwareDeviceDriver.cs
+++ b/Ryujinx.Audio/Backends/Dummy/DummyHardwareDeviceDriver.cs
@@ -84,4 +84,4 @@ namespace Ryujinx.Audio.Backends.Dummy
return channelCount == 1 || channelCount == 2 || channelCount == 6;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Backends/Dummy/DummyHardwareDeviceSessionInput.cs b/Ryujinx.Audio/Backends/Dummy/DummyHardwareDeviceSessionInput.cs
index 59247015..845713a1 100644
--- a/Ryujinx.Audio/Backends/Dummy/DummyHardwareDeviceSessionInput.cs
+++ b/Ryujinx.Audio/Backends/Dummy/DummyHardwareDeviceSessionInput.cs
@@ -64,4 +64,4 @@ namespace Ryujinx.Audio.Backends.Dummy
return true;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Common/AudioBuffer.cs b/Ryujinx.Audio/Common/AudioBuffer.cs
index 87a7d5f3..b79401b7 100644
--- a/Ryujinx.Audio/Common/AudioBuffer.cs
+++ b/Ryujinx.Audio/Common/AudioBuffer.cs
@@ -34,4 +34,4 @@ namespace Ryujinx.Audio.Common
/// </summary>
public byte[] Data;
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Common/AudioDeviceSession.cs b/Ryujinx.Audio/Common/AudioDeviceSession.cs
index 32234076..07b0a898 100644
--- a/Ryujinx.Audio/Common/AudioDeviceSession.cs
+++ b/Ryujinx.Audio/Common/AudioDeviceSession.cs
@@ -513,4 +513,4 @@ namespace Ryujinx.Audio.Common
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Common/AudioDeviceState.cs b/Ryujinx.Audio/Common/AudioDeviceState.cs
index 32745a2e..b3f968da 100644
--- a/Ryujinx.Audio/Common/AudioDeviceState.cs
+++ b/Ryujinx.Audio/Common/AudioDeviceState.cs
@@ -15,4 +15,4 @@ namespace Ryujinx.Audio.Common
/// </summary>
Stopped
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Common/AudioInputConfiguration.cs b/Ryujinx.Audio/Common/AudioInputConfiguration.cs
index 4da8e572..d3cfdd47 100644
--- a/Ryujinx.Audio/Common/AudioInputConfiguration.cs
+++ b/Ryujinx.Audio/Common/AudioInputConfiguration.cs
@@ -26,4 +26,4 @@ namespace Ryujinx.Audio.Common
/// </summary>
private ushort _reserved;
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Common/AudioOutputConfiguration.cs b/Ryujinx.Audio/Common/AudioOutputConfiguration.cs
index 594f1225..e17e1757 100644
--- a/Ryujinx.Audio/Common/AudioOutputConfiguration.cs
+++ b/Ryujinx.Audio/Common/AudioOutputConfiguration.cs
@@ -34,4 +34,4 @@ namespace Ryujinx.Audio.Common
/// </summary>
public AudioDeviceState AudioOutState;
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Common/AudioUserBuffer.cs b/Ryujinx.Audio/Common/AudioUserBuffer.cs
index bb71165f..50ab67fa 100644
--- a/Ryujinx.Audio/Common/AudioUserBuffer.cs
+++ b/Ryujinx.Audio/Common/AudioUserBuffer.cs
@@ -33,4 +33,4 @@ namespace Ryujinx.Audio.Common
/// </summary>
public ulong DataOffset;
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Common/SampleFormat.cs b/Ryujinx.Audio/Common/SampleFormat.cs
index a266ab44..901410a2 100644
--- a/Ryujinx.Audio/Common/SampleFormat.cs
+++ b/Ryujinx.Audio/Common/SampleFormat.cs
@@ -40,4 +40,4 @@ namespace Ryujinx.Audio.Common
/// </summary>
Adpcm = 6
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Constants.cs b/Ryujinx.Audio/Constants.cs
index e8c06aa7..7d2ffa57 100644
--- a/Ryujinx.Audio/Constants.cs
+++ b/Ryujinx.Audio/Constants.cs
@@ -172,4 +172,4 @@ namespace Ryujinx.Audio
0.707f,
};
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Input/AudioInputManager.cs b/Ryujinx.Audio/Input/AudioInputManager.cs
index d9e50b7e..ac012c4a 100644
--- a/Ryujinx.Audio/Input/AudioInputManager.cs
+++ b/Ryujinx.Audio/Input/AudioInputManager.cs
@@ -214,9 +214,9 @@ namespace Ryujinx.Audio.Input
outputDeviceName = audioIn.DeviceName;
outputConfiguration = new AudioOutputConfiguration
{
- ChannelCount = audioIn.ChannelCount,
- SampleFormat = audioIn.SampleFormat,
- SampleRate = audioIn.SampleRate,
+ ChannelCount = audioIn.ChannelCount,
+ SampleFormat = audioIn.SampleFormat,
+ SampleRate = audioIn.SampleRate,
AudioOutState = audioIn.GetState(),
};
@@ -263,4 +263,4 @@ namespace Ryujinx.Audio.Input
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Input/AudioInputSystem.cs b/Ryujinx.Audio/Input/AudioInputSystem.cs
index 97b7ba3b..b3ca0fd6 100644
--- a/Ryujinx.Audio/Input/AudioInputSystem.cs
+++ b/Ryujinx.Audio/Input/AudioInputSystem.cs
@@ -389,4 +389,4 @@ namespace Ryujinx.Audio.Input
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Integration/HardwareDeviceImpl.cs b/Ryujinx.Audio/Integration/HardwareDeviceImpl.cs
index e95ca390..552f1ab2 100644
--- a/Ryujinx.Audio/Integration/HardwareDeviceImpl.cs
+++ b/Ryujinx.Audio/Integration/HardwareDeviceImpl.cs
@@ -32,8 +32,8 @@ namespace Ryujinx.Audio.Integration
_session.QueueBuffer(new AudioBuffer
{
DataPointer = _currentBufferTag++,
- Data = _buffer,
- DataSize = (ulong)_buffer.Length,
+ Data = _buffer,
+ DataSize = (ulong)_buffer.Length,
});
_currentBufferTag = _currentBufferTag % 4;
@@ -72,4 +72,4 @@ namespace Ryujinx.Audio.Integration
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Integration/IHardwareDevice.cs b/Ryujinx.Audio/Integration/IHardwareDevice.cs
index f9ade9db..300de8c5 100644
--- a/Ryujinx.Audio/Integration/IHardwareDevice.cs
+++ b/Ryujinx.Audio/Integration/IHardwareDevice.cs
@@ -52,4 +52,4 @@ namespace Ryujinx.Audio.Integration
return channelCount != Constants.ChannelCountMax;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Integration/IHardwareDeviceDriver.cs b/Ryujinx.Audio/Integration/IHardwareDeviceDriver.cs
index 3930997f..11de9f23 100644
--- a/Ryujinx.Audio/Integration/IHardwareDeviceDriver.cs
+++ b/Ryujinx.Audio/Integration/IHardwareDeviceDriver.cs
@@ -31,4 +31,4 @@ namespace Ryujinx.Audio.Integration
return this;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Integration/IHardwareDeviceSession.cs b/Ryujinx.Audio/Integration/IHardwareDeviceSession.cs
index f29c109c..400daec0 100644
--- a/Ryujinx.Audio/Integration/IHardwareDeviceSession.cs
+++ b/Ryujinx.Audio/Integration/IHardwareDeviceSession.cs
@@ -25,4 +25,4 @@ namespace Ryujinx.Audio.Integration
void PrepareToClose();
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Integration/IWritableEvent.cs b/Ryujinx.Audio/Integration/IWritableEvent.cs
index a3b3bc0b..9a12e3d2 100644
--- a/Ryujinx.Audio/Integration/IWritableEvent.cs
+++ b/Ryujinx.Audio/Integration/IWritableEvent.cs
@@ -15,4 +15,4 @@ namespace Ryujinx.Audio.Integration
/// </summary>
void Clear();
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Output/AudioOutputManager.cs b/Ryujinx.Audio/Output/AudioOutputManager.cs
index 3e07e750..8c21f76a 100644
--- a/Ryujinx.Audio/Output/AudioOutputManager.cs
+++ b/Ryujinx.Audio/Output/AudioOutputManager.cs
@@ -209,9 +209,9 @@ namespace Ryujinx.Audio.Output
outputDeviceName = audioOut.DeviceName;
outputConfiguration = new AudioOutputConfiguration
{
- ChannelCount = audioOut.ChannelCount,
- SampleFormat = audioOut.SampleFormat,
- SampleRate = audioOut.SampleRate,
+ ChannelCount = audioOut.ChannelCount,
+ SampleFormat = audioOut.SampleFormat,
+ SampleRate = audioOut.SampleRate,
AudioOutState = audioOut.GetState(),
};
@@ -293,4 +293,4 @@ namespace Ryujinx.Audio.Output
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Output/AudioOutputSystem.cs b/Ryujinx.Audio/Output/AudioOutputSystem.cs
index dc0006c2..93df87aa 100644
--- a/Ryujinx.Audio/Output/AudioOutputSystem.cs
+++ b/Ryujinx.Audio/Output/AudioOutputSystem.cs
@@ -169,7 +169,7 @@ namespace Ryujinx.Audio.Output
}
SampleFormat = sampleFormat;
- SampleRate = Constants.TargetSampleRate;
+ SampleRate = Constants.TargetSampleRate;
}
return result;
@@ -187,9 +187,9 @@ namespace Ryujinx.Audio.Output
{
AudioBuffer buffer = new AudioBuffer
{
- BufferTag = bufferTag,
+ BufferTag = bufferTag,
DataPointer = userBuffer.Data,
- DataSize = userBuffer.DataSize
+ DataSize = userBuffer.DataSize
};
if (_session.AppendBuffer(buffer))
@@ -291,7 +291,7 @@ namespace Ryujinx.Audio.Output
{
lock (_parentLock)
{
- _session.SetVolume(volume);
+ _session.SetVolume(volume);
}
}
@@ -362,4 +362,4 @@ namespace Ryujinx.Audio.Output
}
}
}
-}
+} \ No newline at end of file
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
diff --git a/Ryujinx.Audio/Renderer/Device/VirtualDevice.cs b/Ryujinx.Audio/Renderer/Device/VirtualDevice.cs
index 8784cc63..2fa030a8 100644
--- a/Ryujinx.Audio/Renderer/Device/VirtualDevice.cs
+++ b/Ryujinx.Audio/Renderer/Device/VirtualDevice.cs
@@ -86,4 +86,4 @@ namespace Ryujinx.Audio.Renderer.Device
return Name;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Device/VirtualDeviceSession.cs b/Ryujinx.Audio/Renderer/Device/VirtualDeviceSession.cs
index 09fa71ed..db35d26d 100644
--- a/Ryujinx.Audio/Renderer/Device/VirtualDeviceSession.cs
+++ b/Ryujinx.Audio/Renderer/Device/VirtualDeviceSession.cs
@@ -24,4 +24,4 @@ namespace Ryujinx.Audio.Renderer.Device
Device = virtualDevice;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Device/VirtualDeviceSessionRegistry.cs b/Ryujinx.Audio/Renderer/Device/VirtualDeviceSessionRegistry.cs
index 85bb03fe..927e45ad 100644
--- a/Ryujinx.Audio/Renderer/Device/VirtualDeviceSessionRegistry.cs
+++ b/Ryujinx.Audio/Renderer/Device/VirtualDeviceSessionRegistry.cs
@@ -59,4 +59,4 @@ namespace Ryujinx.Audio.Renderer.Device
return virtualDeviceSession;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/AdpcmHelper.cs b/Ryujinx.Audio/Renderer/Dsp/AdpcmHelper.cs
index a7c4ebac..f6638a9a 100644
--- a/Ryujinx.Audio/Renderer/Dsp/AdpcmHelper.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/AdpcmHelper.cs
@@ -199,4 +199,4 @@ namespace Ryujinx.Audio.Renderer.Dsp
return decodedCount;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/AudioProcessor.cs b/Ryujinx.Audio/Renderer/Dsp/AudioProcessor.cs
index 5e89899b..2f58957d 100644
--- a/Ryujinx.Audio/Renderer/Dsp/AudioProcessor.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/AudioProcessor.cs
@@ -268,4 +268,4 @@ namespace Ryujinx.Audio.Renderer.Dsp
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/BiquadFilterHelper.cs b/Ryujinx.Audio/Renderer/Dsp/BiquadFilterHelper.cs
index 1a51a1fb..98460ff1 100644
--- a/Ryujinx.Audio/Renderer/Dsp/BiquadFilterHelper.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/BiquadFilterHelper.cs
@@ -80,4 +80,4 @@ namespace Ryujinx.Audio.Renderer.Dsp
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/AdpcmDataSourceCommandVersion1.cs b/Ryujinx.Audio/Renderer/Dsp/Command/AdpcmDataSourceCommandVersion1.cs
index a2113892..1ad629f4 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/AdpcmDataSourceCommandVersion1.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/AdpcmDataSourceCommandVersion1.cs
@@ -72,4 +72,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
DataSourceHelper.ProcessWaveBuffers(context.MemoryManager, outputBuffer, ref info, WaveBuffers, ref State.Span[0], context.SampleRate, (int)context.SampleCount);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/AuxiliaryBufferCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/AuxiliaryBufferCommand.cs
index fc21c86b..cfa5400c 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/AuxiliaryBufferCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/AuxiliaryBufferCommand.cs
@@ -170,4 +170,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/BiquadFilterCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/BiquadFilterCommand.cs
index 4ddfc6ee..d68f3def 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/BiquadFilterCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/BiquadFilterCommand.cs
@@ -49,4 +49,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
BiquadFilterHelper.ProcessBiquadFilter(ref _parameter, ref state, outputBuffer, inputBuffer, context.SampleCount);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/CaptureBufferCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/CaptureBufferCommand.cs
index af4a9386..e9f7f943 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/CaptureBufferCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/CaptureBufferCommand.cs
@@ -134,4 +134,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/CircularBufferSinkCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/CircularBufferSinkCommand.cs
index b179b50d..95aec99d 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/CircularBufferSinkCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/CircularBufferSinkCommand.cs
@@ -74,4 +74,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/ClearMixBufferCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/ClearMixBufferCommand.cs
index 6ccc69dd..c3530db1 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/ClearMixBufferCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/ClearMixBufferCommand.cs
@@ -21,4 +21,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
context.ClearBuffers();
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/CommandList.cs b/Ryujinx.Audio/Renderer/Dsp/Command/CommandList.cs
index 64e8f4da..e8c3ba24 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/CommandList.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/CommandList.cs
@@ -153,4 +153,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
_buffersMemoryHandle.Dispose();
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/CommandType.cs b/Ryujinx.Audio/Renderer/Dsp/Command/CommandType.cs
index 83ea386e..dfe7f886 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/CommandType.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/CommandType.cs
@@ -33,4 +33,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
GroupedBiquadFilter,
CaptureBuffer
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/CopyMixBufferCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/CopyMixBufferCommand.cs
index f5f83526..330b63a6 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/CopyMixBufferCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/CopyMixBufferCommand.cs
@@ -29,4 +29,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
context.CopyBuffer(OutputBufferIndex, InputBufferIndex);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/DataSourceVersion2Command.cs b/Ryujinx.Audio/Renderer/Dsp/Command/DataSourceVersion2Command.cs
index f5cc3659..f602262e 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/DataSourceVersion2Command.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/DataSourceVersion2Command.cs
@@ -105,4 +105,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
DataSourceHelper.ProcessWaveBuffers(context.MemoryManager, outputBuffer, ref info, WaveBuffers, ref State.Span[0], context.SampleRate, (int)context.SampleCount);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/DelayCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/DelayCommand.cs
index cb468199..8f11da95 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/DelayCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/DelayCommand.cs
@@ -87,7 +87,7 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
float dryGain = FixedPointHelper.ToFloat(Parameter.DryGain, FixedPointPrecision);
float outGain = FixedPointHelper.ToFloat(Parameter.OutGain, FixedPointPrecision);
- Matrix2x2 delayFeedback = new Matrix2x2(delayFeedbackBaseGain , delayFeedbackCrossGain,
+ Matrix2x2 delayFeedback = new Matrix2x2(delayFeedbackBaseGain, delayFeedbackCrossGain,
delayFeedbackCrossGain, delayFeedbackBaseGain);
for (int i = 0; i < sampleCount; i++)
@@ -124,10 +124,10 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
float dryGain = FixedPointHelper.ToFloat(Parameter.DryGain, FixedPointPrecision);
float outGain = FixedPointHelper.ToFloat(Parameter.OutGain, FixedPointPrecision);
- Matrix4x4 delayFeedback = new Matrix4x4(delayFeedbackBaseGain , delayFeedbackCrossGain, delayFeedbackCrossGain, 0.0f,
- delayFeedbackCrossGain, delayFeedbackBaseGain , 0.0f , delayFeedbackCrossGain,
- delayFeedbackCrossGain, 0.0f , delayFeedbackBaseGain , delayFeedbackCrossGain,
- 0.0f , delayFeedbackCrossGain, delayFeedbackCrossGain, delayFeedbackBaseGain);
+ Matrix4x4 delayFeedback = new Matrix4x4(delayFeedbackBaseGain, delayFeedbackCrossGain, delayFeedbackCrossGain, 0.0f,
+ delayFeedbackCrossGain, delayFeedbackBaseGain, 0.0f, delayFeedbackCrossGain,
+ delayFeedbackCrossGain, 0.0f, delayFeedbackBaseGain, delayFeedbackCrossGain,
+ 0.0f, delayFeedbackCrossGain, delayFeedbackCrossGain, delayFeedbackBaseGain);
for (int i = 0; i < sampleCount; i++)
@@ -149,7 +149,7 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
};
Vector4 temp = MatrixHelper.Transform(ref channelInput, ref delayFeedback) + channelInput * inGain;
-
+
state.UpdateLowPassFilter(ref Unsafe.As<Vector4, float>(ref temp), channelCount);
*((float*)outputBuffers[0] + i) = (channelInput.X * dryGain + delayLineValues.X * outGain) / 64;
@@ -171,12 +171,12 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
float dryGain = FixedPointHelper.ToFloat(Parameter.DryGain, FixedPointPrecision);
float outGain = FixedPointHelper.ToFloat(Parameter.OutGain, FixedPointPrecision);
- Matrix6x6 delayFeedback = new Matrix6x6(delayFeedbackBaseGain , 0.0f , 0.0f , 0.0f , delayFeedbackCrossGain, delayFeedbackCrossGain,
- 0.0f , delayFeedbackBaseGain , 0.0f , delayFeedbackCrossGain, delayFeedbackCrossGain, 0.0f ,
- delayFeedbackCrossGain, 0.0f , delayFeedbackBaseGain , delayFeedbackCrossGain, 0.0f , 0.0f ,
- 0.0f , delayFeedbackCrossGain, delayFeedbackCrossGain, delayFeedbackBaseGain , 0.0f , 0.0f ,
- delayFeedbackCrossGain, delayFeedbackCrossGain, 0.0f , 0.0f , delayFeedbackBaseGain , 0.0f ,
- 0.0f , 0.0f , 0.0f , 0.0f , 0.0f , feedbackGain);
+ Matrix6x6 delayFeedback = new Matrix6x6(delayFeedbackBaseGain, 0.0f, 0.0f, 0.0f, delayFeedbackCrossGain, delayFeedbackCrossGain,
+ 0.0f, delayFeedbackBaseGain, 0.0f, delayFeedbackCrossGain, delayFeedbackCrossGain, 0.0f,
+ delayFeedbackCrossGain, 0.0f, delayFeedbackBaseGain, delayFeedbackCrossGain, 0.0f, 0.0f,
+ 0.0f, delayFeedbackCrossGain, delayFeedbackCrossGain, delayFeedbackBaseGain, 0.0f, 0.0f,
+ delayFeedbackCrossGain, delayFeedbackCrossGain, 0.0f, 0.0f, delayFeedbackBaseGain, 0.0f,
+ 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, feedbackGain);
for (int i = 0; i < sampleCount; i++)
{
@@ -277,4 +277,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
ProcessDelay(context, ref state);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/DepopForMixBuffersCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/DepopForMixBuffersCommand.cs
index 38fc5127..eb446a2b 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/DepopForMixBuffersCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/DepopForMixBuffersCommand.cs
@@ -90,4 +90,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/DepopPrepareCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/DepopPrepareCommand.cs
index 29e13993..1e37ff71 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/DepopPrepareCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/DepopPrepareCommand.cs
@@ -54,4 +54,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/DeviceSinkCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/DeviceSinkCommand.cs
index cd3d3f3c..a34fbc56 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/DeviceSinkCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/DeviceSinkCommand.cs
@@ -88,4 +88,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/DownMixSurroundToStereoCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/DownMixSurroundToStereoCommand.cs
index 23fb60b9..d75da6f9 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/DownMixSurroundToStereoCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/DownMixSurroundToStereoCommand.cs
@@ -65,4 +65,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
context.ClearBuffer(OutputBufferIndices[5]);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/GroupedBiquadFilterCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/GroupedBiquadFilterCommand.cs
index 7f83c75e..ae1ab12c 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/GroupedBiquadFilterCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/GroupedBiquadFilterCommand.cs
@@ -60,4 +60,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/ICommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/ICommand.cs
index 5c956b89..dddd2511 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/ICommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/ICommand.cs
@@ -17,4 +17,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
return false;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion1.cs b/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion1.cs
index c50ff6ea..98394a09 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion1.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion1.cs
@@ -143,4 +143,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion2.cs b/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion2.cs
index 79aeb740..ebc2eb1b 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion2.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/LimiterCommandVersion2.cs
@@ -162,4 +162,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/MixCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/MixCommand.cs
index da869ffc..d5030996 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/MixCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/MixCommand.cs
@@ -134,4 +134,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
ProcessMix(outputBuffer, inputBuffer);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/MixRampCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/MixRampCommand.cs
index e6fc1b67..06af9f6f 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/MixRampCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/MixRampCommand.cs
@@ -65,4 +65,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
State.Span[0].LastSamples[LastSampleIndex] = ProcessMixRamp(outputBuffer, inputBuffer, (int)context.SampleCount);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/MixRampGroupedCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/MixRampGroupedCommand.cs
index 6d09ffa7..97bb0f50 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/MixRampGroupedCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/MixRampGroupedCommand.cs
@@ -88,4 +88,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/PcmFloatDataSourceCommandVersion1.cs b/Ryujinx.Audio/Renderer/Dsp/Command/PcmFloatDataSourceCommandVersion1.cs
index 483f4254..7c48a511 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/PcmFloatDataSourceCommandVersion1.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/PcmFloatDataSourceCommandVersion1.cs
@@ -71,4 +71,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
DataSourceHelper.ProcessWaveBuffers(context.MemoryManager, outputBuffer, ref info, WaveBuffers, ref State.Span[0], context.SampleRate, (int)context.SampleCount);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/PcmInt16DataSourceCommandVersion1.cs b/Ryujinx.Audio/Renderer/Dsp/Command/PcmInt16DataSourceCommandVersion1.cs
index e6bb2f76..8483f6d4 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/PcmInt16DataSourceCommandVersion1.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/PcmInt16DataSourceCommandVersion1.cs
@@ -71,4 +71,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
DataSourceHelper.ProcessWaveBuffers(context.MemoryManager, outputBuffer, ref info, WaveBuffers, ref State.Span[0], context.SampleRate, (int)context.SampleCount);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/PerformanceCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/PerformanceCommand.cs
index 232f58e4..c2f94474 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/PerformanceCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/PerformanceCommand.cs
@@ -44,4 +44,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/Reverb3dCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/Reverb3dCommand.cs
index dfd706f9..04809245 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/Reverb3dCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/Reverb3dCommand.cs
@@ -251,4 +251,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
ProcessReverb3d(context, ref state);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/ReverbCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/ReverbCommand.cs
index 06684186..130706d1 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/ReverbCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/ReverbCommand.cs
@@ -276,4 +276,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
ProcessReverb(context, ref state);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/UpsampleCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/UpsampleCommand.cs
index 6502e09f..0056ac5c 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/UpsampleCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/UpsampleCommand.cs
@@ -66,4 +66,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/VolumeCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/VolumeCommand.cs
index d75e07a4..e2947891 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/VolumeCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/VolumeCommand.cs
@@ -134,4 +134,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
ProcessVolume(outputBuffer, inputBuffer);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Command/VolumeRampCommand.cs b/Ryujinx.Audio/Renderer/Dsp/Command/VolumeRampCommand.cs
index 092a4df9..ffda8b1a 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Command/VolumeRampCommand.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Command/VolumeRampCommand.cs
@@ -53,4 +53,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
ProcessVolumeRamp(outputBuffer, inputBuffer, (int)context.SampleCount);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/DataSourceHelper.cs b/Ryujinx.Audio/Renderer/Dsp/DataSourceHelper.cs
index 58d3db20..eda57326 100644
--- a/Ryujinx.Audio/Renderer/Dsp/DataSourceHelper.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/DataSourceHelper.cs
@@ -463,4 +463,4 @@ namespace Ryujinx.Audio.Renderer.Dsp
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Effect/DecayDelay.cs b/Ryujinx.Audio/Renderer/Dsp/Effect/DecayDelay.cs
index 7253fdc9..37e066bf 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Effect/DecayDelay.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Effect/DecayDelay.cs
@@ -49,4 +49,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Effect
return _delayLine.Tap(sampleIndex);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Effect/DelayLine.cs b/Ryujinx.Audio/Renderer/Dsp/Effect/DelayLine.cs
index 2b566408..56890ebe 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Effect/DelayLine.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Effect/DelayLine.cs
@@ -75,4 +75,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Effect
return TapUnsafe(sampleIndex, -1);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Effect/DelayLineReverb3d.cs b/Ryujinx.Audio/Renderer/Dsp/Effect/DelayLineReverb3d.cs
index 30096f0e..a2ac9d26 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Effect/DelayLineReverb3d.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Effect/DelayLineReverb3d.cs
@@ -73,4 +73,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Effect
return TapUnsafe(sampleIndex, -1);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/Effect/IDelayLine.cs b/Ryujinx.Audio/Renderer/Dsp/Effect/IDelayLine.cs
index b408e294..fd902525 100644
--- a/Ryujinx.Audio/Renderer/Dsp/Effect/IDelayLine.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/Effect/IDelayLine.cs
@@ -34,4 +34,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Effect
return (uint)MathF.Round(sampleRate * delayTime);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/FixedPointHelper.cs b/Ryujinx.Audio/Renderer/Dsp/FixedPointHelper.cs
index a618c1c1..0d0ff2ae 100644
--- a/Ryujinx.Audio/Renderer/Dsp/FixedPointHelper.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/FixedPointHelper.cs
@@ -30,4 +30,4 @@ namespace Ryujinx.Audio.Renderer.Dsp
return ToInt(value + half, qBits);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/FloatingPointHelper.cs b/Ryujinx.Audio/Renderer/Dsp/FloatingPointHelper.cs
index 2b4ab95f..226def46 100644
--- a/Ryujinx.Audio/Renderer/Dsp/FloatingPointHelper.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/FloatingPointHelper.cs
@@ -64,4 +64,4 @@ namespace Ryujinx.Audio.Renderer.Dsp
return MathF.Sin(DegreesToRadians(value));
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/PcmHelper.cs b/Ryujinx.Audio/Renderer/Dsp/PcmHelper.cs
index f2453f17..1eec3e41 100644
--- a/Ryujinx.Audio/Renderer/Dsp/PcmHelper.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/PcmHelper.cs
@@ -75,4 +75,4 @@ namespace Ryujinx.Audio.Renderer.Dsp
return (short)value;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/ResamplerHelper.cs b/Ryujinx.Audio/Renderer/Dsp/ResamplerHelper.cs
index 454e8735..4de2e078 100644
--- a/Ryujinx.Audio/Renderer/Dsp/ResamplerHelper.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/ResamplerHelper.cs
@@ -627,4 +627,4 @@ namespace Ryujinx.Audio.Renderer.Dsp
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/State/AdpcmLoopContext.cs b/Ryujinx.Audio/Renderer/Dsp/State/AdpcmLoopContext.cs
index f9ef201f..821a135e 100644
--- a/Ryujinx.Audio/Renderer/Dsp/State/AdpcmLoopContext.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/State/AdpcmLoopContext.cs
@@ -9,4 +9,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.State
public short History0;
public short History1;
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/State/AuxiliaryBufferHeader.cs b/Ryujinx.Audio/Renderer/Dsp/State/AuxiliaryBufferHeader.cs
index 97bbc80c..4e8d11e4 100644
--- a/Ryujinx.Audio/Renderer/Dsp/State/AuxiliaryBufferHeader.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/State/AuxiliaryBufferHeader.cs
@@ -71,4 +71,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.State
public AuxiliaryBufferInfo CpuBufferInfo;
public AuxiliaryBufferInfo DspBufferInfo;
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/State/BiquadFilterState.cs b/Ryujinx.Audio/Renderer/Dsp/State/BiquadFilterState.cs
index f9a32b3f..4220e6d5 100644
--- a/Ryujinx.Audio/Renderer/Dsp/State/BiquadFilterState.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/State/BiquadFilterState.cs
@@ -10,4 +10,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.State
public float State2;
public float State3;
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/State/DelayState.cs b/Ryujinx.Audio/Renderer/Dsp/State/DelayState.cs
index c56fa078..2a1e7f83 100644
--- a/Ryujinx.Audio/Renderer/Dsp/State/DelayState.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/State/DelayState.cs
@@ -64,4 +64,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.State
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/State/LimiterState.cs b/Ryujinx.Audio/Renderer/Dsp/State/LimiterState.cs
index 0ac0a29c..92ed13ff 100644
--- a/Ryujinx.Audio/Renderer/Dsp/State/LimiterState.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/State/LimiterState.cs
@@ -25,6 +25,6 @@ namespace Ryujinx.Audio.Renderer.Dsp.State
UpdateParameter(ref parameter);
}
- public void UpdateParameter(ref LimiterParameter parameter) {}
+ public void UpdateParameter(ref LimiterParameter parameter) { }
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/State/Reverb3dState.cs b/Ryujinx.Audio/Renderer/Dsp/State/Reverb3dState.cs
index d4641b44..c0646603 100644
--- a/Ryujinx.Audio/Renderer/Dsp/State/Reverb3dState.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/State/Reverb3dState.cs
@@ -116,4 +116,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.State
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Dsp/State/ReverbState.cs b/Ryujinx.Audio/Renderer/Dsp/State/ReverbState.cs
index 878fb2f1..1ffabe05 100644
--- a/Ryujinx.Audio/Renderer/Dsp/State/ReverbState.cs
+++ b/Ryujinx.Audio/Renderer/Dsp/State/ReverbState.cs
@@ -201,4 +201,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.State
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/AudioRendererConfiguration.cs b/Ryujinx.Audio/Renderer/Parameter/AudioRendererConfiguration.cs
index d3697bee..359cd4c0 100644
--- a/Ryujinx.Audio/Renderer/Parameter/AudioRendererConfiguration.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/AudioRendererConfiguration.cs
@@ -96,4 +96,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
/// <seealso cref="Server.BehaviourContext"/>
public int Revision;
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/BehaviourErrorInfoOutStatus.cs b/Ryujinx.Audio/Renderer/Parameter/BehaviourErrorInfoOutStatus.cs
index 5a0565dc..aba7dcd6 100644
--- a/Ryujinx.Audio/Renderer/Parameter/BehaviourErrorInfoOutStatus.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/BehaviourErrorInfoOutStatus.cs
@@ -27,4 +27,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
/// </summary>
private unsafe fixed uint _reserved[3];
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/BiquadFilterParameter.cs b/Ryujinx.Audio/Renderer/Parameter/BiquadFilterParameter.cs
index 697583b1..ef86015f 100644
--- a/Ryujinx.Audio/Renderer/Parameter/BiquadFilterParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/BiquadFilterParameter.cs
@@ -31,4 +31,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
/// <remarks>a0 = 1</remarks>
public Array2<short> Denominator;
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/Effect/AuxiliaryBufferParameter.cs b/Ryujinx.Audio/Renderer/Parameter/Effect/AuxiliaryBufferParameter.cs
index 65f265a3..36f28677 100644
--- a/Ryujinx.Audio/Renderer/Parameter/Effect/AuxiliaryBufferParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/Effect/AuxiliaryBufferParameter.cs
@@ -81,4 +81,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Effect
/// <remarks>This is unused.</remarks>
public uint MixBufferSampleCount;
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/Effect/BiquadFilterEffectParameter.cs b/Ryujinx.Audio/Renderer/Parameter/Effect/BiquadFilterEffectParameter.cs
index b12a941a..73e0e9bb 100644
--- a/Ryujinx.Audio/Renderer/Parameter/Effect/BiquadFilterEffectParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/Effect/BiquadFilterEffectParameter.cs
@@ -41,4 +41,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Effect
/// </summary>
public UsageState Status;
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/Effect/BufferMixerParameter.cs b/Ryujinx.Audio/Renderer/Parameter/Effect/BufferMixerParameter.cs
index 49b70e50..b03559eb 100644
--- a/Ryujinx.Audio/Renderer/Parameter/Effect/BufferMixerParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/Effect/BufferMixerParameter.cs
@@ -29,4 +29,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Effect
/// </summary>
public uint MixesCount;
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/Effect/DelayParameter.cs b/Ryujinx.Audio/Renderer/Parameter/Effect/DelayParameter.cs
index a55f6748..72332c17 100644
--- a/Ryujinx.Audio/Renderer/Parameter/Effect/DelayParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/Effect/DelayParameter.cs
@@ -98,4 +98,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Effect
return EffectInParameterVersion1.IsChannelCountValid(ChannelCountMax);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/Effect/LimiterParameter.cs b/Ryujinx.Audio/Renderer/Parameter/Effect/LimiterParameter.cs
index 0c4b8a64..0bce94a2 100644
--- a/Ryujinx.Audio/Renderer/Parameter/Effect/LimiterParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/Effect/LimiterParameter.cs
@@ -135,4 +135,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Effect
return EffectInParameterVersion1.IsChannelCountValid(ChannelCountMax);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/Effect/LimiterStatistics.cs b/Ryujinx.Audio/Renderer/Parameter/Effect/LimiterStatistics.cs
index 969b2e2d..af4c02f2 100644
--- a/Ryujinx.Audio/Renderer/Parameter/Effect/LimiterStatistics.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/Effect/LimiterStatistics.cs
@@ -28,4 +28,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Effect
CompressionGainMin.ToSpan().Fill(1.0f);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/Effect/Reverb3dParameter.cs b/Ryujinx.Audio/Renderer/Parameter/Effect/Reverb3dParameter.cs
index 23574a78..c78ce595 100644
--- a/Ryujinx.Audio/Renderer/Parameter/Effect/Reverb3dParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/Effect/Reverb3dParameter.cs
@@ -124,4 +124,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Effect
return EffectInParameterVersion1.IsChannelCountValid(ChannelCountMax);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/Effect/ReverbParameter.cs b/Ryujinx.Audio/Renderer/Parameter/Effect/ReverbParameter.cs
index f61d105b..baf049fb 100644
--- a/Ryujinx.Audio/Renderer/Parameter/Effect/ReverbParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/Effect/ReverbParameter.cs
@@ -116,4 +116,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Effect
return EffectInParameterVersion1.IsChannelCountValid(ChannelCountMax);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/EffectInParameterVersion1.cs b/Ryujinx.Audio/Renderer/Parameter/EffectInParameterVersion1.cs
index 95bc3422..e5419f70 100644
--- a/Ryujinx.Audio/Renderer/Parameter/EffectInParameterVersion1.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/EffectInParameterVersion1.cs
@@ -94,4 +94,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
return channelCount == 1 || channelCount == 2 || channelCount == 4 || channelCount == 6;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/EffectInParameterVersion2.cs b/Ryujinx.Audio/Renderer/Parameter/EffectInParameterVersion2.cs
index acdcc690..250012d1 100644
--- a/Ryujinx.Audio/Renderer/Parameter/EffectInParameterVersion2.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/EffectInParameterVersion2.cs
@@ -94,4 +94,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
return channelCount == 1 || channelCount == 2 || channelCount == 4 || channelCount == 6;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/EffectOutStatusVersion1.cs b/Ryujinx.Audio/Renderer/Parameter/EffectOutStatusVersion1.cs
index 80247cf4..5e6a33ac 100644
--- a/Ryujinx.Audio/Renderer/Parameter/EffectOutStatusVersion1.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/EffectOutStatusVersion1.cs
@@ -20,4 +20,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
EffectState IEffectOutStatus.State { get => State; set => State = value; }
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/EffectOutStatusVersion2.cs b/Ryujinx.Audio/Renderer/Parameter/EffectOutStatusVersion2.cs
index 663112b8..f2c9768b 100644
--- a/Ryujinx.Audio/Renderer/Parameter/EffectOutStatusVersion2.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/EffectOutStatusVersion2.cs
@@ -25,4 +25,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
EffectState IEffectOutStatus.State { get => State; set => State = value; }
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/EffectResultState.cs b/Ryujinx.Audio/Renderer/Parameter/EffectResultState.cs
index b3a4bae1..bd96c22b 100644
--- a/Ryujinx.Audio/Renderer/Parameter/EffectResultState.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/EffectResultState.cs
@@ -23,4 +23,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
/// </summary>
public Span<byte> SpecificData => SpanHelpers.AsSpan<SpecificDataStruct, byte>(ref _specificDataStart);
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/EffectState.cs b/Ryujinx.Audio/Renderer/Parameter/EffectState.cs
index 30cfb9af..911ba6d8 100644
--- a/Ryujinx.Audio/Renderer/Parameter/EffectState.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/EffectState.cs
@@ -15,4 +15,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
/// </summary>
Disabled = 4
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/IEffectInParameter.cs b/Ryujinx.Audio/Renderer/Parameter/IEffectInParameter.cs
index 703c3e6d..bdd1ca45 100644
--- a/Ryujinx.Audio/Renderer/Parameter/IEffectInParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/IEffectInParameter.cs
@@ -50,4 +50,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
/// </summary>
Span<byte> SpecificData { get; }
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/IEffectOutStatus.cs b/Ryujinx.Audio/Renderer/Parameter/IEffectOutStatus.cs
index 74d13220..a5addbcb 100644
--- a/Ryujinx.Audio/Renderer/Parameter/IEffectOutStatus.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/IEffectOutStatus.cs
@@ -10,4 +10,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
/// </summary>
EffectState State { get; set; }
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/MemoryPoolInParameter.cs b/Ryujinx.Audio/Renderer/Parameter/MemoryPoolInParameter.cs
index 60250858..242e3843 100644
--- a/Ryujinx.Audio/Renderer/Parameter/MemoryPoolInParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/MemoryPoolInParameter.cs
@@ -30,4 +30,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
/// </summary>
private unsafe fixed uint _reserved[3];
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/MemoryPoolOutStatus.cs b/Ryujinx.Audio/Renderer/Parameter/MemoryPoolOutStatus.cs
index a78937d0..29a6e261 100644
--- a/Ryujinx.Audio/Renderer/Parameter/MemoryPoolOutStatus.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/MemoryPoolOutStatus.cs
@@ -19,4 +19,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
/// </summary>
private unsafe fixed uint _reserved[3];
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/MixInParameterDirtyOnlyUpdate.cs b/Ryujinx.Audio/Renderer/Parameter/MixInParameterDirtyOnlyUpdate.cs
index 733b5ad7..c0954cda 100644
--- a/Ryujinx.Audio/Renderer/Parameter/MixInParameterDirtyOnlyUpdate.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/MixInParameterDirtyOnlyUpdate.cs
@@ -24,4 +24,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
/// </summary>
private unsafe fixed byte _reserved[24];
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/MixParameter.cs b/Ryujinx.Audio/Renderer/Parameter/MixParameter.cs
index 25281d86..5b9a969a 100644
--- a/Ryujinx.Audio/Renderer/Parameter/MixParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/MixParameter.cs
@@ -92,4 +92,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
/// <remarks>Used when no splitter id is specified.</remarks>
public Span<float> MixBufferVolume => SpanHelpers.AsSpan<MixVolumeArray, float>(ref _mixBufferVolumeArray);
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/Performance/PerformanceInParameter.cs b/Ryujinx.Audio/Renderer/Parameter/Performance/PerformanceInParameter.cs
index 806f7fa8..0f9a3aa3 100644
--- a/Ryujinx.Audio/Renderer/Parameter/Performance/PerformanceInParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/Performance/PerformanceInParameter.cs
@@ -18,4 +18,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Performance
/// </summary>
private unsafe fixed uint _reserved[3];
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/Performance/PerformanceOutStatus.cs b/Ryujinx.Audio/Renderer/Parameter/Performance/PerformanceOutStatus.cs
index 839d6eb6..64bbe080 100644
--- a/Ryujinx.Audio/Renderer/Parameter/Performance/PerformanceOutStatus.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/Performance/PerformanceOutStatus.cs
@@ -18,4 +18,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Performance
/// </summary>
private unsafe fixed uint _reserved[3];
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/RendererInfoOutStatus.cs b/Ryujinx.Audio/Renderer/Parameter/RendererInfoOutStatus.cs
index e72d836f..a42ea833 100644
--- a/Ryujinx.Audio/Renderer/Parameter/RendererInfoOutStatus.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/RendererInfoOutStatus.cs
@@ -18,4 +18,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
/// </summary>
private ulong _reserved;
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/Sink/CircularBufferParameter.cs b/Ryujinx.Audio/Renderer/Parameter/Sink/CircularBufferParameter.cs
index 46ff2a4c..7c02d65f 100644
--- a/Ryujinx.Audio/Renderer/Parameter/Sink/CircularBufferParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/Sink/CircularBufferParameter.cs
@@ -59,4 +59,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Sink
/// </summary>
private ushort _reserved2;
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/Sink/DeviceParameter.cs b/Ryujinx.Audio/Renderer/Parameter/Sink/DeviceParameter.cs
index d1e6b2e9..abeadacc 100644
--- a/Ryujinx.Audio/Renderer/Parameter/Sink/DeviceParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/Sink/DeviceParameter.cs
@@ -55,4 +55,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Sink
/// </summary>
public Span<byte> DeviceName => SpanHelpers.AsSpan<DeviceNameStruct, byte>(ref _deviceName);
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/SinkInParameter.cs b/Ryujinx.Audio/Renderer/Parameter/SinkInParameter.cs
index a8af236d..1ee4eb53 100644
--- a/Ryujinx.Audio/Renderer/Parameter/SinkInParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/SinkInParameter.cs
@@ -50,4 +50,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
/// </summary>
public Span<byte> SpecificData => SpanHelpers.AsSpan<SpecificDataStruct, byte>(ref _specificDataStart);
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/SinkOutStatus.cs b/Ryujinx.Audio/Renderer/Parameter/SinkOutStatus.cs
index cf88679e..426b861c 100644
--- a/Ryujinx.Audio/Renderer/Parameter/SinkOutStatus.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/SinkOutStatus.cs
@@ -23,4 +23,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
/// </summary>
private unsafe fixed ulong _reserved[3];
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/SplitterDestinationInParameter.cs b/Ryujinx.Audio/Renderer/Parameter/SplitterDestinationInParameter.cs
index 50c1b072..96c43092 100644
--- a/Ryujinx.Audio/Renderer/Parameter/SplitterDestinationInParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/SplitterDestinationInParameter.cs
@@ -64,4 +64,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
return Magic == ValidMagic;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/SplitterInParameter.cs b/Ryujinx.Audio/Renderer/Parameter/SplitterInParameter.cs
index 8e808e4c..0220497d 100644
--- a/Ryujinx.Audio/Renderer/Parameter/SplitterInParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/SplitterInParameter.cs
@@ -43,4 +43,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
return Magic == ValidMagic;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/SplitterInParameterHeader.cs b/Ryujinx.Audio/Renderer/Parameter/SplitterInParameterHeader.cs
index b117d5aa..dbae17a9 100644
--- a/Ryujinx.Audio/Renderer/Parameter/SplitterInParameterHeader.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/SplitterInParameterHeader.cs
@@ -42,4 +42,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
return Magic == ValidMagic;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/VoiceChannelResourceInParameter.cs b/Ryujinx.Audio/Renderer/Parameter/VoiceChannelResourceInParameter.cs
index 6cff1a25..6a863237 100644
--- a/Ryujinx.Audio/Renderer/Parameter/VoiceChannelResourceInParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/VoiceChannelResourceInParameter.cs
@@ -25,4 +25,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
[MarshalAs(UnmanagedType.I1)]
public bool IsUsed;
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/VoiceInParameter.cs b/Ryujinx.Audio/Renderer/Parameter/VoiceInParameter.cs
index 2be1e7c5..c4b4ba31 100644
--- a/Ryujinx.Audio/Renderer/Parameter/VoiceInParameter.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/VoiceInParameter.cs
@@ -341,4 +341,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
Low
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Parameter/VoiceOutStatus.cs b/Ryujinx.Audio/Renderer/Parameter/VoiceOutStatus.cs
index a7c74983..be9d3584 100644
--- a/Ryujinx.Audio/Renderer/Parameter/VoiceOutStatus.cs
+++ b/Ryujinx.Audio/Renderer/Parameter/VoiceOutStatus.cs
@@ -32,4 +32,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
/// </summary>
private unsafe fixed byte _reserved[3];
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/AudioRenderSystem.cs b/Ryujinx.Audio/Renderer/Server/AudioRenderSystem.cs
index 5eab73bc..904b56f6 100644
--- a/Ryujinx.Audio/Renderer/Server/AudioRenderSystem.cs
+++ b/Ryujinx.Audio/Renderer/Server/AudioRenderSystem.cs
@@ -29,34 +29,34 @@ namespace Ryujinx.Audio.Renderer.Server
private object _lock = new object();
private AudioRendererExecutionMode _executionMode;
- private IWritableEvent _systemEvent;
- private ManualResetEvent _terminationEvent;
- private MemoryPoolState _dspMemoryPoolState;
- private VoiceContext _voiceContext;
- private MixContext _mixContext;
- private SinkContext _sinkContext;
- private SplitterContext _splitterContext;
- private EffectContext _effectContext;
- private PerformanceManager _performanceManager;
- private UpsamplerManager _upsamplerManager;
- private bool _isActive;
- private BehaviourContext _behaviourContext;
- private ulong _totalElapsedTicksUpdating;
- private ulong _totalElapsedTicks;
- private int _sessionId;
- private Memory<MemoryPoolState> _memoryPools;
-
- private uint _sampleRate;
- private uint _sampleCount;
- private uint _mixBufferCount;
- private uint _voiceChannelCountMax;
- private uint _upsamplerCount;
- private uint _memoryPoolCount;
- private uint _processHandle;
+ private IWritableEvent _systemEvent;
+ private ManualResetEvent _terminationEvent;
+ private MemoryPoolState _dspMemoryPoolState;
+ private VoiceContext _voiceContext;
+ private MixContext _mixContext;
+ private SinkContext _sinkContext;
+ private SplitterContext _splitterContext;
+ private EffectContext _effectContext;
+ private PerformanceManager _performanceManager;
+ private UpsamplerManager _upsamplerManager;
+ private bool _isActive;
+ private BehaviourContext _behaviourContext;
+ private ulong _totalElapsedTicksUpdating;
+ private ulong _totalElapsedTicks;
+ private int _sessionId;
+ private Memory<MemoryPoolState> _memoryPools;
+
+ private uint _sampleRate;
+ private uint _sampleCount;
+ private uint _mixBufferCount;
+ private uint _voiceChannelCountMax;
+ private uint _upsamplerCount;
+ private uint _memoryPoolCount;
+ private uint _processHandle;
private ulong _appletResourceId;
private WritableRegion _workBufferRegion;
- private MemoryHandle _workBufferMemoryPin;
+ private MemoryHandle _workBufferMemoryPin;
private Memory<float> _mixBuffer;
private Memory<float> _depopBuffer;
@@ -81,21 +81,21 @@ namespace Ryujinx.Audio.Renderer.Server
public AudioRenderSystem(AudioRendererManager manager, IWritableEvent systemEvent)
{
- _manager = manager;
- _terminationEvent = new ManualResetEvent(false);
+ _manager = manager;
+ _terminationEvent = new ManualResetEvent(false);
_dspMemoryPoolState = MemoryPoolState.Create(MemoryPoolState.LocationType.Dsp);
- _voiceContext = new VoiceContext();
- _mixContext = new MixContext();
- _sinkContext = new SinkContext();
- _splitterContext = new SplitterContext();
- _effectContext = new EffectContext();
+ _voiceContext = new VoiceContext();
+ _mixContext = new MixContext();
+ _sinkContext = new SinkContext();
+ _splitterContext = new SplitterContext();
+ _effectContext = new EffectContext();
_commandProcessingTimeEstimator = null;
_systemEvent = systemEvent;
_behaviourContext = new BehaviourContext();
_totalElapsedTicksUpdating = 0;
- _sessionId = 0;
+ _sessionId = 0;
}
public ResultCode Initialize(ref AudioRendererConfiguration parameter, uint processHandle, CpuAddress workBuffer, ulong workBufferSize, int sessionId, ulong appletResourceId, IVirtualMemoryManager memoryManager)
@@ -116,7 +116,7 @@ namespace Ryujinx.Audio.Renderer.Server
_behaviourContext.SetUserRevision(parameter.Revision);
- _sampleRate = parameter.SampleRate;
+ _sampleRate = parameter.SampleRate;
_sampleCount = parameter.SampleCount;
_mixBufferCount = parameter.MixBufferCount;
_voiceChannelCountMax = Constants.VoiceChannelCountMax;
@@ -203,7 +203,7 @@ namespace Ryujinx.Audio.Renderer.Server
{
ref VoiceChannelResource voiceChannelResource = ref voiceChannelResources.Span[(int)id];
- voiceChannelResource.Id = id;
+ voiceChannelResource.Id = id;
voiceChannelResource.IsUsed = false;
}
@@ -852,4 +852,4 @@ namespace Ryujinx.Audio.Renderer.Server
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/AudioRendererManager.cs b/Ryujinx.Audio/Renderer/Server/AudioRendererManager.cs
index 23bf6fe0..3fbdc58d 100644
--- a/Ryujinx.Audio/Renderer/Server/AudioRendererManager.cs
+++ b/Ryujinx.Audio/Renderer/Server/AudioRendererManager.cs
@@ -381,4 +381,4 @@ namespace Ryujinx.Audio.Renderer.Server
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/BehaviourContext.cs b/Ryujinx.Audio/Renderer/Server/BehaviourContext.cs
index 878665f1..41720415 100644
--- a/Ryujinx.Audio/Renderer/Server/BehaviourContext.cs
+++ b/Ryujinx.Audio/Renderer/Server/BehaviourContext.cs
@@ -141,8 +141,8 @@ namespace Ryujinx.Audio.Renderer.Server
public BehaviourContext()
{
UserRevision = 0;
- _errorInfos = new ErrorInfo[Constants.MaxErrorInfos];
- _errorIndex = 0;
+ _errorInfos = new ErrorInfo[Constants.MaxErrorInfos];
+ _errorIndex = 0;
}
/// <summary>
@@ -448,4 +448,4 @@ namespace Ryujinx.Audio.Renderer.Server
_errorIndex = 0;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/CommandBuffer.cs b/Ryujinx.Audio/Renderer/Server/CommandBuffer.cs
index c46944c0..aa3d9795 100644
--- a/Ryujinx.Audio/Renderer/Server/CommandBuffer.cs
+++ b/Ryujinx.Audio/Renderer/Server/CommandBuffer.cs
@@ -554,4 +554,4 @@ namespace Ryujinx.Audio.Renderer.Server
AddCommand(command);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/CommandGenerator.cs b/Ryujinx.Audio/Renderer/Server/CommandGenerator.cs
index 1b43d92f..514279f1 100644
--- a/Ryujinx.Audio/Renderer/Server/CommandGenerator.cs
+++ b/Ryujinx.Audio/Renderer/Server/CommandGenerator.cs
@@ -1011,4 +1011,4 @@ namespace Ryujinx.Audio.Renderer.Server
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion1.cs b/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion1.cs
index 6bb1e160..32c52dc4 100644
--- a/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion1.cs
+++ b/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion1.cs
@@ -180,4 +180,4 @@ namespace Ryujinx.Audio.Renderer.Server
return 0;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion2.cs b/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion2.cs
index 05447e57..15800c99 100644
--- a/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion2.cs
+++ b/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion2.cs
@@ -544,4 +544,4 @@ namespace Ryujinx.Audio.Renderer.Server
return 0;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion3.cs b/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion3.cs
index 13f476d6..6c6e2828 100644
--- a/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion3.cs
+++ b/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion3.cs
@@ -748,4 +748,4 @@ namespace Ryujinx.Audio.Renderer.Server
return 0;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion4.cs b/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion4.cs
index b2a0b84a..2385f46f 100644
--- a/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion4.cs
+++ b/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion4.cs
@@ -48,4 +48,4 @@ namespace Ryujinx.Audio.Renderer.Server
return (uint)435.2f;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion5.cs b/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion5.cs
index 70a8b3f9..961d92aa 100644
--- a/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion5.cs
+++ b/Ryujinx.Audio/Renderer/Server/CommandProcessingTimeEstimatorVersion5.cs
@@ -233,4 +233,4 @@ namespace Ryujinx.Audio.Renderer.Server
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Effect/AuxiliaryBufferEffect.cs b/Ryujinx.Audio/Renderer/Server/Effect/AuxiliaryBufferEffect.cs
index 46b2a9a3..16406527 100644
--- a/Ryujinx.Audio/Renderer/Server/Effect/AuxiliaryBufferEffect.cs
+++ b/Ryujinx.Audio/Renderer/Server/Effect/AuxiliaryBufferEffect.cs
@@ -82,4 +82,4 @@ namespace Ryujinx.Audio.Renderer.Server.Effect
UpdateUsageStateForCommandGeneration();
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Effect/BaseEffect.cs b/Ryujinx.Audio/Renderer/Server/Effect/BaseEffect.cs
index 5c75ecd5..35314aca 100644
--- a/Ryujinx.Audio/Renderer/Server/Effect/BaseEffect.cs
+++ b/Ryujinx.Audio/Renderer/Server/Effect/BaseEffect.cs
@@ -81,7 +81,7 @@ namespace Ryujinx.Audio.Renderer.Server.Effect
/// </summary>
/// <param name="parameter">The user parameter.</param>
/// <returns>Returns true if the <see cref="EffectType"/> sent by the user matches the internal <see cref="EffectType"/>.</returns>
- public bool IsTypeValid<T>(ref T parameter) where T: unmanaged, IEffectInParameter
+ public bool IsTypeValid<T>(ref T parameter) where T : unmanaged, IEffectInParameter
{
return parameter.Type == TargetEffectType;
}
@@ -140,14 +140,14 @@ namespace Ryujinx.Audio.Renderer.Server.Effect
/// Initialize the given <paramref name="state"/> result state.
/// </summary>
/// <param name="state">The state to initalize</param>
- public virtual void InitializeResultState(ref EffectResultState state) {}
+ public virtual void InitializeResultState(ref EffectResultState state) { }
/// <summary>
/// Update the <paramref name="destState"/> result state with <paramref name="srcState"/>.
/// </summary>
/// <param name="destState">The destination result state</param>
/// <param name="srcState">The source result state</param>
- public virtual void UpdateResultState(ref EffectResultState destState, ref EffectResultState srcState) {}
+ public virtual void UpdateResultState(ref EffectResultState destState, ref EffectResultState srcState) { }
/// <summary>
/// Update the internal state from a user version 1 parameter.
@@ -215,7 +215,7 @@ namespace Ryujinx.Audio.Renderer.Server.Effect
/// </summary>
/// <param name="outStatus">The given user output.</param>
/// <param name="isAudioRendererActive">If set to true, the <see cref="AudioRenderSystem"/> is active.</param>
- public void StoreStatus<T>(ref T outStatus, bool isAudioRendererActive) where T: unmanaged, IEffectOutStatus
+ public void StoreStatus<T>(ref T outStatus, bool isAudioRendererActive) where T : unmanaged, IEffectOutStatus
{
if (isAudioRendererActive)
{
@@ -267,4 +267,4 @@ namespace Ryujinx.Audio.Renderer.Server.Effect
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Effect/BiquadFilterEffect.cs b/Ryujinx.Audio/Renderer/Server/Effect/BiquadFilterEffect.cs
index b987f7c8..de91046d 100644
--- a/Ryujinx.Audio/Renderer/Server/Effect/BiquadFilterEffect.cs
+++ b/Ryujinx.Audio/Renderer/Server/Effect/BiquadFilterEffect.cs
@@ -64,4 +64,4 @@ namespace Ryujinx.Audio.Renderer.Server.Effect
Parameter.Status = UsageState.Enabled;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Effect/BufferMixEffect.cs b/Ryujinx.Audio/Renderer/Server/Effect/BufferMixEffect.cs
index d6cb9cfa..82c0a055 100644
--- a/Ryujinx.Audio/Renderer/Server/Effect/BufferMixEffect.cs
+++ b/Ryujinx.Audio/Renderer/Server/Effect/BufferMixEffect.cs
@@ -46,4 +46,4 @@ namespace Ryujinx.Audio.Renderer.Server.Effect
UpdateUsageStateForCommandGeneration();
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Effect/CaptureBufferEffect.cs b/Ryujinx.Audio/Renderer/Server/Effect/CaptureBufferEffect.cs
index 5be4b4ed..c445798d 100644
--- a/Ryujinx.Audio/Renderer/Server/Effect/CaptureBufferEffect.cs
+++ b/Ryujinx.Audio/Renderer/Server/Effect/CaptureBufferEffect.cs
@@ -79,4 +79,4 @@ namespace Ryujinx.Audio.Renderer.Server.Effect
UpdateUsageStateForCommandGeneration();
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Effect/DelayEffect.cs b/Ryujinx.Audio/Renderer/Server/Effect/DelayEffect.cs
index 43cabb7d..3f5d70bc 100644
--- a/Ryujinx.Audio/Renderer/Server/Effect/DelayEffect.cs
+++ b/Ryujinx.Audio/Renderer/Server/Effect/DelayEffect.cs
@@ -90,4 +90,4 @@ namespace Ryujinx.Audio.Renderer.Server.Effect
Parameter.Status = UsageState.Enabled;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Effect/EffectContext.cs b/Ryujinx.Audio/Renderer/Server/Effect/EffectContext.cs
index 619f3110..bfb6528b 100644
--- a/Ryujinx.Audio/Renderer/Server/Effect/EffectContext.cs
+++ b/Ryujinx.Audio/Renderer/Server/Effect/EffectContext.cs
@@ -120,4 +120,4 @@ namespace Ryujinx.Audio.Renderer.Server.Effect
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Effect/LimiterEffect.cs b/Ryujinx.Audio/Renderer/Server/Effect/LimiterEffect.cs
index 3e2f7326..6e17ef3d 100644
--- a/Ryujinx.Audio/Renderer/Server/Effect/LimiterEffect.cs
+++ b/Ryujinx.Audio/Renderer/Server/Effect/LimiterEffect.cs
@@ -92,4 +92,4 @@ namespace Ryujinx.Audio.Renderer.Server.Effect
destState = srcState;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Effect/Reverb3dEffect.cs b/Ryujinx.Audio/Renderer/Server/Effect/Reverb3dEffect.cs
index 782f1abb..473fddb8 100644
--- a/Ryujinx.Audio/Renderer/Server/Effect/Reverb3dEffect.cs
+++ b/Ryujinx.Audio/Renderer/Server/Effect/Reverb3dEffect.cs
@@ -46,7 +46,7 @@ namespace Ryujinx.Audio.Renderer.Server.Effect
Update(out updateErrorInfo, ref parameter, mapper);
}
- public void Update<T>(out BehaviourParameter.ErrorInfo updateErrorInfo, ref T parameter, PoolMapper mapper) where T: unmanaged, IEffectInParameter
+ public void Update<T>(out BehaviourParameter.ErrorInfo updateErrorInfo, ref T parameter, PoolMapper mapper) where T : unmanaged, IEffectInParameter
{
Debug.Assert(IsTypeValid(ref parameter));
@@ -89,4 +89,4 @@ namespace Ryujinx.Audio.Renderer.Server.Effect
Parameter.ParameterStatus = UsageState.Enabled;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Effect/ReverbEffect.cs b/Ryujinx.Audio/Renderer/Server/Effect/ReverbEffect.cs
index 6fdf8fc2..e1543fd1 100644
--- a/Ryujinx.Audio/Renderer/Server/Effect/ReverbEffect.cs
+++ b/Ryujinx.Audio/Renderer/Server/Effect/ReverbEffect.cs
@@ -92,4 +92,4 @@ namespace Ryujinx.Audio.Renderer.Server.Effect
Parameter.Status = UsageState.Enabled;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Effect/UsageState.cs b/Ryujinx.Audio/Renderer/Server/Effect/UsageState.cs
index 2caf10b8..8648aa2c 100644
--- a/Ryujinx.Audio/Renderer/Server/Effect/UsageState.cs
+++ b/Ryujinx.Audio/Renderer/Server/Effect/UsageState.cs
@@ -25,4 +25,4 @@ namespace Ryujinx.Audio.Renderer.Server.Effect
/// </summary>
Disabled
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/ICommandProcessingTimeEstimator.cs b/Ryujinx.Audio/Renderer/Server/ICommandProcessingTimeEstimator.cs
index 377f4384..e365a86c 100644
--- a/Ryujinx.Audio/Renderer/Server/ICommandProcessingTimeEstimator.cs
+++ b/Ryujinx.Audio/Renderer/Server/ICommandProcessingTimeEstimator.cs
@@ -36,4 +36,4 @@ namespace Ryujinx.Audio.Renderer.Server
uint Estimate(GroupedBiquadFilterCommand command);
uint Estimate(CaptureBufferCommand command);
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/MemoryPool/AddressInfo.cs b/Ryujinx.Audio/Renderer/Server/MemoryPool/AddressInfo.cs
index fa1ae44a..5fd6b2b9 100644
--- a/Ryujinx.Audio/Renderer/Server/MemoryPool/AddressInfo.cs
+++ b/Ryujinx.Audio/Renderer/Server/MemoryPool/AddressInfo.cs
@@ -1,8 +1,7 @@
using System;
using System.Runtime.InteropServices;
-
-using DspAddress = System.UInt64;
using CpuAddress = System.UInt64;
+using DspAddress = System.UInt64;
namespace Ryujinx.Audio.Renderer.Server.MemoryPool
{
@@ -53,9 +52,9 @@ namespace Ryujinx.Audio.Renderer.Server.MemoryPool
{
return new AddressInfo
{
- CpuAddress = cpuAddress,
- _memoryPools = MemoryPoolState.Null,
- Size = size,
+ CpuAddress = cpuAddress,
+ _memoryPools = MemoryPoolState.Null,
+ Size = size,
ForceMappedDspAddress = 0
};
}
@@ -68,8 +67,8 @@ namespace Ryujinx.Audio.Renderer.Server.MemoryPool
/// <param name="size">The size of the region.</param>
public void Setup(CpuAddress cpuAddress, ulong size)
{
- CpuAddress = cpuAddress;
- Size = size;
+ CpuAddress = cpuAddress;
+ Size = size;
ForceMappedDspAddress = 0;
unsafe
@@ -131,4 +130,4 @@ namespace Ryujinx.Audio.Renderer.Server.MemoryPool
return MemoryPoolState.Translate(CpuAddress, Size);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/MemoryPool/MemoryPoolState.cs b/Ryujinx.Audio/Renderer/Server/MemoryPool/MemoryPoolState.cs
index 6abdd2d6..69466bab 100644
--- a/Ryujinx.Audio/Renderer/Server/MemoryPool/MemoryPoolState.cs
+++ b/Ryujinx.Audio/Renderer/Server/MemoryPool/MemoryPoolState.cs
@@ -1,8 +1,7 @@
using System;
using System.Runtime.InteropServices;
-
-using DspAddress = System.UInt64;
using CpuAddress = System.UInt64;
+using DspAddress = System.UInt64;
namespace Ryujinx.Audio.Renderer.Server.MemoryPool
{
@@ -69,8 +68,8 @@ namespace Ryujinx.Audio.Renderer.Server.MemoryPool
{
CpuAddress = 0,
DspAddress = 0,
- Size = 0,
- Location = location
+ Size = 0,
+ Location = location
};
}
@@ -82,7 +81,7 @@ namespace Ryujinx.Audio.Renderer.Server.MemoryPool
public void SetCpuAddress(CpuAddress cpuAddress, ulong size)
{
CpuAddress = cpuAddress;
- Size = size;
+ Size = size;
}
/// <summary>
@@ -128,4 +127,4 @@ namespace Ryujinx.Audio.Renderer.Server.MemoryPool
return DspAddress != 0;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/MemoryPool/PoolMapper.cs b/Ryujinx.Audio/Renderer/Server/MemoryPool/PoolMapper.cs
index 382f34d8..cf0fc067 100644
--- a/Ryujinx.Audio/Renderer/Server/MemoryPool/PoolMapper.cs
+++ b/Ryujinx.Audio/Renderer/Server/MemoryPool/PoolMapper.cs
@@ -229,14 +229,14 @@ namespace Ryujinx.Audio.Renderer.Server.MemoryPool
if (AssignDspAddress(ref addressInfo))
{
- errorInfo.ErrorCode = 0x0;
+ errorInfo.ErrorCode = 0x0;
errorInfo.ExtraErrorInfo = 0x0;
return true;
}
else
{
- errorInfo.ErrorCode = ResultCode.InvalidAddressInfo;
+ errorInfo.ErrorCode = ResultCode.InvalidAddressInfo;
errorInfo.ExtraErrorInfo = addressInfo.CpuAddress;
return _isForceMapEnabled;
@@ -363,4 +363,4 @@ namespace Ryujinx.Audio.Renderer.Server.MemoryPool
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Mix/MixContext.cs b/Ryujinx.Audio/Renderer/Server/Mix/MixContext.cs
index 6965803f..cda6f737 100644
--- a/Ryujinx.Audio/Renderer/Server/Mix/MixContext.cs
+++ b/Ryujinx.Audio/Renderer/Server/Mix/MixContext.cs
@@ -256,4 +256,4 @@ namespace Ryujinx.Audio.Renderer.Server.Mix
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Mix/MixState.cs b/Ryujinx.Audio/Renderer/Server/Mix/MixState.cs
index 12540ecb..146e6781 100644
--- a/Ryujinx.Audio/Renderer/Server/Mix/MixState.cs
+++ b/Ryujinx.Audio/Renderer/Server/Mix/MixState.cs
@@ -310,4 +310,4 @@ namespace Ryujinx.Audio.Renderer.Server.Mix
return isDirty;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Performance/IPerformanceDetailEntry.cs b/Ryujinx.Audio/Renderer/Server/Performance/IPerformanceDetailEntry.cs
index ffabf467..dbe59cb0 100644
--- a/Ryujinx.Audio/Renderer/Server/Performance/IPerformanceDetailEntry.cs
+++ b/Ryujinx.Audio/Renderer/Server/Performance/IPerformanceDetailEntry.cs
@@ -49,4 +49,4 @@ namespace Ryujinx.Audio.Renderer.Server.Performance
/// <param name="detailType">The type to use.</param>
void SetDetailType(PerformanceDetailType detailType);
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Performance/IPerformanceEntry.cs b/Ryujinx.Audio/Renderer/Server/Performance/IPerformanceEntry.cs
index a0178187..9888a4cc 100644
--- a/Ryujinx.Audio/Renderer/Server/Performance/IPerformanceEntry.cs
+++ b/Ryujinx.Audio/Renderer/Server/Performance/IPerformanceEntry.cs
@@ -43,4 +43,4 @@ namespace Ryujinx.Audio.Renderer.Server.Performance
/// <param name="type">The type to use.</param>
void SetEntryType(PerformanceEntryType type);
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Performance/IPerformanceHeader.cs b/Ryujinx.Audio/Renderer/Server/Performance/IPerformanceHeader.cs
index deacd8cc..21876b4b 100644
--- a/Ryujinx.Audio/Renderer/Server/Performance/IPerformanceHeader.cs
+++ b/Ryujinx.Audio/Renderer/Server/Performance/IPerformanceHeader.cs
@@ -77,4 +77,4 @@ namespace Ryujinx.Audio.Renderer.Server.Performance
/// <param name="entryDetailCount">The total count of detailed entries in this frame.</param>
void SetEntryDetailCount(int entryDetailCount);
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Performance/PerformanceDetailVersion1.cs b/Ryujinx.Audio/Renderer/Server/Performance/PerformanceDetailVersion1.cs
index a8a6dfc8..22704c0d 100644
--- a/Ryujinx.Audio/Renderer/Server/Performance/PerformanceDetailVersion1.cs
+++ b/Ryujinx.Audio/Renderer/Server/Performance/PerformanceDetailVersion1.cs
@@ -69,4 +69,4 @@ namespace Ryujinx.Audio.Renderer.Server.Performance
NodeId = nodeId;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Performance/PerformanceDetailVersion2.cs b/Ryujinx.Audio/Renderer/Server/Performance/PerformanceDetailVersion2.cs
index 26d4ec8e..05ecda9b 100644
--- a/Ryujinx.Audio/Renderer/Server/Performance/PerformanceDetailVersion2.cs
+++ b/Ryujinx.Audio/Renderer/Server/Performance/PerformanceDetailVersion2.cs
@@ -69,4 +69,4 @@ namespace Ryujinx.Audio.Renderer.Server.Performance
NodeId = nodeId;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Performance/PerformanceEntryAddresses.cs b/Ryujinx.Audio/Renderer/Server/Performance/PerformanceEntryAddresses.cs
index d24b96a2..1b8d8668 100644
--- a/Ryujinx.Audio/Renderer/Server/Performance/PerformanceEntryAddresses.cs
+++ b/Ryujinx.Audio/Renderer/Server/Performance/PerformanceEntryAddresses.cs
@@ -53,4 +53,4 @@ namespace Ryujinx.Audio.Renderer.Server.Performance
BaseMemory.Span[(int)ProcessingTimeOffset / 4] = (int)(endTimeNano / 1000) - BaseMemory.Span[(int)StartTimeOffset / 4];
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Performance/PerformanceEntryVersion1.cs b/Ryujinx.Audio/Renderer/Server/Performance/PerformanceEntryVersion1.cs
index a1c7e914..fa2d3216 100644
--- a/Ryujinx.Audio/Renderer/Server/Performance/PerformanceEntryVersion1.cs
+++ b/Ryujinx.Audio/Renderer/Server/Performance/PerformanceEntryVersion1.cs
@@ -59,4 +59,4 @@ namespace Ryujinx.Audio.Renderer.Server.Performance
NodeId = nodeId;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Performance/PerformanceEntryVersion2.cs b/Ryujinx.Audio/Renderer/Server/Performance/PerformanceEntryVersion2.cs
index 7437fb05..49d4b3ce 100644
--- a/Ryujinx.Audio/Renderer/Server/Performance/PerformanceEntryVersion2.cs
+++ b/Ryujinx.Audio/Renderer/Server/Performance/PerformanceEntryVersion2.cs
@@ -59,4 +59,4 @@ namespace Ryujinx.Audio.Renderer.Server.Performance
NodeId = nodeId;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Performance/PerformanceFrameHeaderVersion1.cs b/Ryujinx.Audio/Renderer/Server/Performance/PerformanceFrameHeaderVersion1.cs
index 8c65538b..5fe6bff0 100644
--- a/Ryujinx.Audio/Renderer/Server/Performance/PerformanceFrameHeaderVersion1.cs
+++ b/Ryujinx.Audio/Renderer/Server/Performance/PerformanceFrameHeaderVersion1.cs
@@ -98,4 +98,4 @@ namespace Ryujinx.Audio.Renderer.Server.Performance
VoiceDropCount = voiceCount;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Performance/PerformanceFrameHeaderVersion2.cs b/Ryujinx.Audio/Renderer/Server/Performance/PerformanceFrameHeaderVersion2.cs
index 2eab2096..a1822968 100644
--- a/Ryujinx.Audio/Renderer/Server/Performance/PerformanceFrameHeaderVersion2.cs
+++ b/Ryujinx.Audio/Renderer/Server/Performance/PerformanceFrameHeaderVersion2.cs
@@ -114,4 +114,4 @@ namespace Ryujinx.Audio.Renderer.Server.Performance
VoiceDropCount = voiceCount;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Performance/PerformanceManager.cs b/Ryujinx.Audio/Renderer/Server/Performance/PerformanceManager.cs
index fa5c74b6..f996441c 100644
--- a/Ryujinx.Audio/Renderer/Server/Performance/PerformanceManager.cs
+++ b/Ryujinx.Audio/Renderer/Server/Performance/PerformanceManager.cs
@@ -103,4 +103,4 @@ namespace Ryujinx.Audio.Renderer.Server.Performance
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Performance/PerformanceManagerGeneric.cs b/Ryujinx.Audio/Renderer/Server/Performance/PerformanceManagerGeneric.cs
index 43281f70..18e77391 100644
--- a/Ryujinx.Audio/Renderer/Server/Performance/PerformanceManagerGeneric.cs
+++ b/Ryujinx.Audio/Renderer/Server/Performance/PerformanceManagerGeneric.cs
@@ -13,7 +13,7 @@ namespace Ryujinx.Audio.Renderer.Server.Performance
/// <typeparam name="THeader">The header implementation of the performance frame.</typeparam>
/// <typeparam name="TEntry">The entry implementation of the performance frame.</typeparam>
/// <typeparam name="TEntryDetail">A detailed implementation of the performance frame.</typeparam>
- public class PerformanceManagerGeneric<THeader, TEntry, TEntryDetail> : PerformanceManager where THeader: unmanaged, IPerformanceHeader where TEntry : unmanaged, IPerformanceEntry where TEntryDetail: unmanaged, IPerformanceDetailEntry
+ public class PerformanceManagerGeneric<THeader, TEntry, TEntryDetail> : PerformanceManager where THeader : unmanaged, IPerformanceHeader where TEntry : unmanaged, IPerformanceEntry where TEntryDetail : unmanaged, IPerformanceDetailEntry
{
/// <summary>
/// The magic used for the <see cref="THeader"/>.
@@ -301,4 +301,4 @@ namespace Ryujinx.Audio.Renderer.Server.Performance
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/RendererSystemContext.cs b/Ryujinx.Audio/Renderer/Server/RendererSystemContext.cs
index 09085001..16456780 100644
--- a/Ryujinx.Audio/Renderer/Server/RendererSystemContext.cs
+++ b/Ryujinx.Audio/Renderer/Server/RendererSystemContext.cs
@@ -45,4 +45,4 @@ namespace Ryujinx.Audio.Renderer.Server
/// </remarks>
public Memory<float> DepopBuffer;
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Sink/BaseSink.cs b/Ryujinx.Audio/Renderer/Server/Sink/BaseSink.cs
index d36c5e26..f7b63997 100644
--- a/Ryujinx.Audio/Renderer/Server/Sink/BaseSink.cs
+++ b/Ryujinx.Audio/Renderer/Server/Sink/BaseSink.cs
@@ -99,4 +99,4 @@ namespace Ryujinx.Audio.Renderer.Server.Sink
errorInfo = new ErrorInfo();
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Sink/CircularBufferSink.cs b/Ryujinx.Audio/Renderer/Server/Sink/CircularBufferSink.cs
index 09775798..722d8c4b 100644
--- a/Ryujinx.Audio/Renderer/Server/Sink/CircularBufferSink.cs
+++ b/Ryujinx.Audio/Renderer/Server/Sink/CircularBufferSink.cs
@@ -106,4 +106,4 @@ namespace Ryujinx.Audio.Renderer.Server.Sink
base.CleanUp();
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Sink/DeviceSink.cs b/Ryujinx.Audio/Renderer/Server/Sink/DeviceSink.cs
index 9ad16c94..970e145e 100644
--- a/Ryujinx.Audio/Renderer/Server/Sink/DeviceSink.cs
+++ b/Ryujinx.Audio/Renderer/Server/Sink/DeviceSink.cs
@@ -72,4 +72,4 @@ namespace Ryujinx.Audio.Renderer.Server.Sink
outStatus = new SinkOutStatus();
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Sink/SinkContext.cs b/Ryujinx.Audio/Renderer/Server/Sink/SinkContext.cs
index 951984d8..b57d3990 100644
--- a/Ryujinx.Audio/Renderer/Server/Sink/SinkContext.cs
+++ b/Ryujinx.Audio/Renderer/Server/Sink/SinkContext.cs
@@ -53,4 +53,4 @@ namespace Ryujinx.Audio.Renderer.Server.Sink
return ref _sinks[id];
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Splitter/SplitterContext.cs b/Ryujinx.Audio/Renderer/Server/Splitter/SplitterContext.cs
index 1000e20c..72f19a67 100644
--- a/Ryujinx.Audio/Renderer/Server/Splitter/SplitterContext.cs
+++ b/Ryujinx.Audio/Renderer/Server/Splitter/SplitterContext.cs
@@ -300,4 +300,4 @@ namespace Ryujinx.Audio.Renderer.Server.Splitter
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Splitter/SplitterDestination.cs b/Ryujinx.Audio/Renderer/Server/Splitter/SplitterDestination.cs
index cf599eef..c074e4a7 100644
--- a/Ryujinx.Audio/Renderer/Server/Splitter/SplitterDestination.cs
+++ b/Ryujinx.Audio/Renderer/Server/Splitter/SplitterDestination.cs
@@ -172,7 +172,7 @@ namespace Ryujinx.Audio.Renderer.Server.Splitter
{
unsafe
{
- fixed (SplitterDestination *nextPtr = &next)
+ fixed (SplitterDestination* nextPtr = &next)
{
_next = nextPtr;
}
@@ -190,4 +190,4 @@ namespace Ryujinx.Audio.Renderer.Server.Splitter
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Splitter/SplitterState.cs b/Ryujinx.Audio/Renderer/Server/Splitter/SplitterState.cs
index da3f07ee..15a0c6ba 100644
--- a/Ryujinx.Audio/Renderer/Server/Splitter/SplitterState.cs
+++ b/Ryujinx.Audio/Renderer/Server/Splitter/SplitterState.cs
@@ -218,4 +218,4 @@ namespace Ryujinx.Audio.Renderer.Server.Splitter
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/StateUpdater.cs b/Ryujinx.Audio/Renderer/Server/StateUpdater.cs
index a20b7902..0514c355 100644
--- a/Ryujinx.Audio/Renderer/Server/StateUpdater.cs
+++ b/Ryujinx.Audio/Renderer/Server/StateUpdater.cs
@@ -21,7 +21,7 @@ namespace Ryujinx.Audio.Renderer.Server
public class StateUpdater
{
private readonly ReadOnlyMemory<byte> _inputOrigin;
- private ReadOnlyMemory <byte> _outputOrigin;
+ private ReadOnlyMemory<byte> _outputOrigin;
private ReadOnlyMemory<byte> _input;
private Memory<byte> _output;
@@ -207,7 +207,7 @@ namespace Ryujinx.Audio.Renderer.Server
return ResultCode.Success;
}
- private static void ResetEffect<T>(ref BaseEffect effect, ref T parameter, PoolMapper mapper) where T: unmanaged, IEffectInParameter
+ private static void ResetEffect<T>(ref BaseEffect effect, ref T parameter, PoolMapper mapper) where T : unmanaged, IEffectInParameter
{
effect.ForceUnmapBuffers(mapper);
@@ -629,4 +629,4 @@ namespace Ryujinx.Audio.Renderer.Server
return ResultCode.Success;
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Types/AudioRendererRenderingDevice.cs b/Ryujinx.Audio/Renderer/Server/Types/AudioRendererRenderingDevice.cs
index 8d4a6db7..5ad27b0b 100644
--- a/Ryujinx.Audio/Renderer/Server/Types/AudioRendererRenderingDevice.cs
+++ b/Ryujinx.Audio/Renderer/Server/Types/AudioRendererRenderingDevice.cs
@@ -21,4 +21,4 @@ namespace Ryujinx.Audio.Renderer.Server.Types
/// </remarks>
Cpu
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Types/PlayState.cs b/Ryujinx.Audio/Renderer/Server/Types/PlayState.cs
index dbae31bf..25cc34a8 100644
--- a/Ryujinx.Audio/Renderer/Server/Types/PlayState.cs
+++ b/Ryujinx.Audio/Renderer/Server/Types/PlayState.cs
@@ -36,4 +36,4 @@ namespace Ryujinx.Audio.Renderer.Server.Types
/// </remarks>
Paused
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerManager.cs b/Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerManager.cs
index 4413b15f..b37988fe 100644
--- a/Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerManager.cs
+++ b/Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerManager.cs
@@ -81,4 +81,4 @@ namespace Ryujinx.Audio.Renderer.Server.Upsampler
}
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerState.cs b/Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerState.cs
index e3039810..065e4838 100644
--- a/Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerState.cs
+++ b/Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerState.cs
@@ -60,4 +60,4 @@ namespace Ryujinx.Audio.Renderer.Server.Upsampler
_manager.Free(_index);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Voice/VoiceChannelResource.cs b/Ryujinx.Audio/Renderer/Server/Voice/VoiceChannelResource.cs
index a34680e3..81736630 100644
--- a/Ryujinx.Audio/Renderer/Server/Voice/VoiceChannelResource.cs
+++ b/Ryujinx.Audio/Renderer/Server/Voice/VoiceChannelResource.cs
@@ -37,4 +37,4 @@ namespace Ryujinx.Audio.Renderer.Server.Voice
Mix.ToSpan().CopyTo(PreviousMix.ToSpan());
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Voice/VoiceContext.cs b/Ryujinx.Audio/Renderer/Server/Voice/VoiceContext.cs
index 416a97a6..1c57b71b 100644
--- a/Ryujinx.Audio/Renderer/Server/Voice/VoiceContext.cs
+++ b/Ryujinx.Audio/Renderer/Server/Voice/VoiceContext.cs
@@ -146,4 +146,4 @@ namespace Ryujinx.Audio.Renderer.Server.Voice
sortedVoicesTemp.AsSpan().CopyTo(_sortedVoices.Span);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Voice/VoiceState.cs b/Ryujinx.Audio/Renderer/Server/Voice/VoiceState.cs
index 8b816bb4..004b5aa2 100644
--- a/Ryujinx.Audio/Renderer/Server/Voice/VoiceState.cs
+++ b/Ryujinx.Audio/Renderer/Server/Voice/VoiceState.cs
@@ -200,7 +200,7 @@ namespace Ryujinx.Audio.Renderer.Server.Voice
SampleFormat = SampleFormat.Invalid;
ChannelsCount = 0;
Pitch = 0.0f;
- Volume= 0.0f;
+ Volume = 0.0f;
PreviousVolume = 0.0f;
BiquadFilters.ToSpan().Fill(new BiquadFilterParameter());
WaveBuffersCount = 0;
@@ -260,7 +260,7 @@ namespace Ryujinx.Audio.Renderer.Server.Voice
}
return DataSourceStateAddressInfo.CpuAddress != parameter.DataSourceStateAddress ||
- DataSourceStateAddressInfo.Size != parameter.DataSourceStateSize ||
+ DataSourceStateAddressInfo.Size != parameter.DataSourceStateSize ||
DataSourceStateUnmapped;
}
@@ -696,4 +696,4 @@ namespace Ryujinx.Audio.Renderer.Server.Voice
return UpdateParametersForCommandGeneration(voiceUpdateStates);
}
}
-}
+} \ No newline at end of file
diff --git a/Ryujinx.Audio/Renderer/Server/Voice/WaveBuffer.cs b/Ryujinx.Audio/Renderer/Server/Voice/WaveBuffer.cs
index e6829766..4bf7dd28 100644
--- a/Ryujinx.Audio/Renderer/Server/Voice/WaveBuffer.cs
+++ b/Ryujinx.Audio/Renderer/Server/Voice/WaveBuffer.cs
@@ -101,4 +101,4 @@ namespace Ryujinx.Audio.Renderer.Server.Voice
return waveBuffer;
}
}
-}
+} \ No newline at end of file
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<T>(MemoryMarshal.Cast<TFrom, T>(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
diff --git a/Ryujinx.Audio/ResultCode.cs b/Ryujinx.Audio/ResultCode.cs
index 20fc6270..8e0bfcb0 100644
--- a/Ryujinx.Audio/ResultCode.cs
+++ b/Ryujinx.Audio/ResultCode.cs
@@ -2,20 +2,20 @@ namespace Ryujinx.Audio
{
public enum ResultCode
{
- ModuleId = 153,
+ ModuleId = 153,
ErrorCodeShift = 9,
Success = 0,
- DeviceNotFound = (1 << ErrorCodeShift) | ModuleId,
- OperationFailed = (2 << ErrorCodeShift) | ModuleId,
- UnsupportedSampleRate = (3 << ErrorCodeShift) | ModuleId,
- WorkBufferTooSmall = (4 << ErrorCodeShift) | ModuleId,
- BufferRingFull = (8 << ErrorCodeShift) | ModuleId,
+ DeviceNotFound = (1 << ErrorCodeShift) | ModuleId,
+ OperationFailed = (2 << ErrorCodeShift) | ModuleId,
+ UnsupportedSampleRate = (3 << ErrorCodeShift) | ModuleId,
+ WorkBufferTooSmall = (4 << ErrorCodeShift) | ModuleId,
+ BufferRingFull = (8 << ErrorCodeShift) | ModuleId,
UnsupportedChannelConfiguration = (10 << ErrorCodeShift) | ModuleId,
- InvalidUpdateInfo = (41 << ErrorCodeShift) | ModuleId,
- InvalidAddressInfo = (42 << ErrorCodeShift) | ModuleId,
- InvalidMixSorting = (43 << ErrorCodeShift) | ModuleId,
- UnsupportedOperation = (513 << ErrorCodeShift) | ModuleId,
+ InvalidUpdateInfo = (41 << ErrorCodeShift) | ModuleId,
+ InvalidAddressInfo = (42 << ErrorCodeShift) | ModuleId,
+ InvalidMixSorting = (43 << ErrorCodeShift) | ModuleId,
+ UnsupportedOperation = (513 << ErrorCodeShift) | ModuleId,
}
-}
+} \ No newline at end of file