misc: Reformat Ryujinx.Audio with dotnet-format (#3485)
This is the first commit of a series of reformat around the codebase as discussed internally some weeks ago. This project being one that isn't touched that much, it shouldn't cause conflict with any opened PRs.
This commit is contained in:
parent
62f8ceb60b
commit
1825bd87b4
200 changed files with 306 additions and 309 deletions
|
@ -10,4 +10,4 @@ namespace Ryujinx.Audio.Renderer.Common
|
|||
public ulong ReturnBufferInfo;
|
||||
public ulong ReturnBufferInfoBase;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -47,4 +47,4 @@ namespace Ryujinx.Audio.Renderer.Common
|
|||
public ulong ExtraErrorInfo;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -147,4 +147,4 @@ namespace Ryujinx.Audio.Renderer.Common
|
|||
return _nodeCount;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -50,4 +50,4 @@ namespace Ryujinx.Audio.Renderer.Common
|
|||
/// </summary>
|
||||
CaptureBuffer
|
||||
}
|
||||
}
|
||||
}
|
|
@ -40,4 +40,4 @@ namespace Ryujinx.Audio.Renderer.Common
|
|||
/// </summary>
|
||||
Released = 6
|
||||
}
|
||||
}
|
||||
}
|
|
@ -25,4 +25,4 @@ namespace Ryujinx.Audio.Renderer.Common
|
|||
return (nodeId >> 16) & 0xFFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -30,4 +30,4 @@ namespace Ryujinx.Audio.Renderer.Common
|
|||
/// </summary>
|
||||
Performance = 15
|
||||
}
|
||||
}
|
||||
}
|
|
@ -226,4 +226,4 @@ namespace Ryujinx.Audio.Renderer.Common
|
|||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -16,4 +16,4 @@ namespace Ryujinx.Audio.Renderer.Common
|
|||
Limiter,
|
||||
CaptureBuffer
|
||||
}
|
||||
}
|
||||
}
|
|
@ -8,4 +8,4 @@ namespace Ryujinx.Audio.Renderer.Common
|
|||
FinalMix,
|
||||
Sink
|
||||
}
|
||||
}
|
||||
}
|
|
@ -20,4 +20,4 @@ namespace Ryujinx.Audio.Renderer.Common
|
|||
/// </summary>
|
||||
Pause
|
||||
}
|
||||
}
|
||||
}
|
|
@ -30,4 +30,4 @@ namespace Ryujinx.Audio.Renderer.Common
|
|||
/// </summary>
|
||||
Disabled
|
||||
}
|
||||
}
|
||||
}
|
|
@ -35,4 +35,4 @@ namespace Ryujinx.Audio.Renderer.Common
|
|||
/// </summary>
|
||||
Limit = NoDelay
|
||||
}
|
||||
}
|
||||
}
|
|
@ -20,4 +20,4 @@ namespace Ryujinx.Audio.Renderer.Common
|
|||
/// </summary>
|
||||
CircularBuffer
|
||||
}
|
||||
}
|
||||
}
|
|
@ -30,4 +30,4 @@ namespace Ryujinx.Audio.Renderer.Common
|
|||
TotalSize = (uint)Unsafe.SizeOf<UpdateDataHeader>();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -101,4 +101,4 @@ namespace Ryujinx.Audio.Renderer.Common
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -79,4 +79,4 @@ namespace Ryujinx.Audio.Renderer.Common
|
|||
/// </summary>
|
||||
private ushort _padding;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -86,4 +86,4 @@ namespace Ryujinx.Audio.Renderer.Device
|
|||
return Name;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -24,4 +24,4 @@ namespace Ryujinx.Audio.Renderer.Device
|
|||
Device = virtualDevice;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -59,4 +59,4 @@ namespace Ryujinx.Audio.Renderer.Device
|
|||
return virtualDeviceSession;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -199,4 +199,4 @@ namespace Ryujinx.Audio.Renderer.Dsp
|
|||
return decodedCount;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -268,4 +268,4 @@ namespace Ryujinx.Audio.Renderer.Dsp
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -80,4 +80,4 @@ namespace Ryujinx.Audio.Renderer.Dsp
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -170,4 +170,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -49,4 +49,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
BiquadFilterHelper.ProcessBiquadFilter(ref _parameter, ref state, outputBuffer, inputBuffer, context.SampleCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -134,4 +134,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -74,4 +74,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -21,4 +21,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
context.ClearBuffers();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -153,4 +153,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
_buffersMemoryHandle.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -33,4 +33,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
GroupedBiquadFilter,
|
||||
CaptureBuffer
|
||||
}
|
||||
}
|
||||
}
|
|
@ -29,4 +29,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
context.CopyBuffer(OutputBufferIndex, InputBufferIndex);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -90,4 +90,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -54,4 +54,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -88,4 +88,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -65,4 +65,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
context.ClearBuffer(OutputBufferIndices[5]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -60,4 +60,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -17,4 +17,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -143,4 +143,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -162,4 +162,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -134,4 +134,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
ProcessMix(outputBuffer, inputBuffer);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -65,4 +65,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
State.Span[0].LastSamples[LastSampleIndex] = ProcessMixRamp(outputBuffer, inputBuffer, (int)context.SampleCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -88,4 +88,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -44,4 +44,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -251,4 +251,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
ProcessReverb3d(context, ref state);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -276,4 +276,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
ProcessReverb(context, ref state);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -66,4 +66,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -134,4 +134,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
ProcessVolume(outputBuffer, inputBuffer);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -53,4 +53,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Command
|
|||
ProcessVolumeRamp(outputBuffer, inputBuffer, (int)context.SampleCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -463,4 +463,4 @@ namespace Ryujinx.Audio.Renderer.Dsp
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -49,4 +49,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Effect
|
|||
return _delayLine.Tap(sampleIndex);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -75,4 +75,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Effect
|
|||
return TapUnsafe(sampleIndex, -1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -73,4 +73,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Effect
|
|||
return TapUnsafe(sampleIndex, -1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -34,4 +34,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.Effect
|
|||
return (uint)MathF.Round(sampleRate * delayTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -30,4 +30,4 @@ namespace Ryujinx.Audio.Renderer.Dsp
|
|||
return ToInt(value + half, qBits);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -64,4 +64,4 @@ namespace Ryujinx.Audio.Renderer.Dsp
|
|||
return MathF.Sin(DegreesToRadians(value));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -75,4 +75,4 @@ namespace Ryujinx.Audio.Renderer.Dsp
|
|||
return (short)value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -627,4 +627,4 @@ namespace Ryujinx.Audio.Renderer.Dsp
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -9,4 +9,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.State
|
|||
public short History0;
|
||||
public short History1;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -71,4 +71,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.State
|
|||
public AuxiliaryBufferInfo CpuBufferInfo;
|
||||
public AuxiliaryBufferInfo DspBufferInfo;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -10,4 +10,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.State
|
|||
public float State2;
|
||||
public float State3;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -64,4 +64,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.State
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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) { }
|
||||
}
|
||||
}
|
||||
}
|
|
@ -116,4 +116,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.State
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -201,4 +201,4 @@ namespace Ryujinx.Audio.Renderer.Dsp.State
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -96,4 +96,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
/// <seealso cref="Server.BehaviourContext"/>
|
||||
public int Revision;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -27,4 +27,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
/// </summary>
|
||||
private unsafe fixed uint _reserved[3];
|
||||
}
|
||||
}
|
||||
}
|
|
@ -31,4 +31,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
/// <remarks>a0 = 1</remarks>
|
||||
public Array2<short> Denominator;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -81,4 +81,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Effect
|
|||
/// <remarks>This is unused.</remarks>
|
||||
public uint MixBufferSampleCount;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -41,4 +41,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Effect
|
|||
/// </summary>
|
||||
public UsageState Status;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -29,4 +29,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Effect
|
|||
/// </summary>
|
||||
public uint MixesCount;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -98,4 +98,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Effect
|
|||
return EffectInParameterVersion1.IsChannelCountValid(ChannelCountMax);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -135,4 +135,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Effect
|
|||
return EffectInParameterVersion1.IsChannelCountValid(ChannelCountMax);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -28,4 +28,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Effect
|
|||
CompressionGainMin.ToSpan().Fill(1.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -124,4 +124,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Effect
|
|||
return EffectInParameterVersion1.IsChannelCountValid(ChannelCountMax);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -116,4 +116,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Effect
|
|||
return EffectInParameterVersion1.IsChannelCountValid(ChannelCountMax);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -94,4 +94,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
return channelCount == 1 || channelCount == 2 || channelCount == 4 || channelCount == 6;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -94,4 +94,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
return channelCount == 1 || channelCount == 2 || channelCount == 4 || channelCount == 6;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -20,4 +20,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
|
||||
EffectState IEffectOutStatus.State { get => State; set => State = value; }
|
||||
}
|
||||
}
|
||||
}
|
|
@ -25,4 +25,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
|
||||
EffectState IEffectOutStatus.State { get => State; set => State = value; }
|
||||
}
|
||||
}
|
||||
}
|
|
@ -23,4 +23,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
/// </summary>
|
||||
public Span<byte> SpecificData => SpanHelpers.AsSpan<SpecificDataStruct, byte>(ref _specificDataStart);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -15,4 +15,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
/// </summary>
|
||||
Disabled = 4
|
||||
}
|
||||
}
|
||||
}
|
|
@ -50,4 +50,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
/// </summary>
|
||||
Span<byte> SpecificData { get; }
|
||||
}
|
||||
}
|
||||
}
|
|
@ -10,4 +10,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
/// </summary>
|
||||
EffectState State { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
|
@ -30,4 +30,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
/// </summary>
|
||||
private unsafe fixed uint _reserved[3];
|
||||
}
|
||||
}
|
||||
}
|
|
@ -19,4 +19,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
/// </summary>
|
||||
private unsafe fixed uint _reserved[3];
|
||||
}
|
||||
}
|
||||
}
|
|
@ -24,4 +24,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
/// </summary>
|
||||
private unsafe fixed byte _reserved[24];
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -18,4 +18,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Performance
|
|||
/// </summary>
|
||||
private unsafe fixed uint _reserved[3];
|
||||
}
|
||||
}
|
||||
}
|
|
@ -18,4 +18,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Performance
|
|||
/// </summary>
|
||||
private unsafe fixed uint _reserved[3];
|
||||
}
|
||||
}
|
||||
}
|
|
@ -18,4 +18,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
/// </summary>
|
||||
private ulong _reserved;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -59,4 +59,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Sink
|
|||
/// </summary>
|
||||
private ushort _reserved2;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -55,4 +55,4 @@ namespace Ryujinx.Audio.Renderer.Parameter.Sink
|
|||
/// </summary>
|
||||
public Span<byte> DeviceName => SpanHelpers.AsSpan<DeviceNameStruct, byte>(ref _deviceName);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -50,4 +50,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
/// </summary>
|
||||
public Span<byte> SpecificData => SpanHelpers.AsSpan<SpecificDataStruct, byte>(ref _specificDataStart);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -23,4 +23,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
/// </summary>
|
||||
private unsafe fixed ulong _reserved[3];
|
||||
}
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue