mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-08-02 15:07:11 +02:00
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
641f90a183
commit
158ecb2c56
200 changed files with 306 additions and 309 deletions
|
@ -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];
|
||||
}
|
||||
}
|
||||
}
|
|
@ -64,4 +64,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
return Magic == ValidMagic;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -43,4 +43,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
return Magic == ValidMagic;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -42,4 +42,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
return Magic == ValidMagic;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -25,4 +25,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
[MarshalAs(UnmanagedType.I1)]
|
||||
public bool IsUsed;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -341,4 +341,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
Low
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -32,4 +32,4 @@ namespace Ryujinx.Audio.Renderer.Parameter
|
|||
/// </summary>
|
||||
private unsafe fixed byte _reserved[3];
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue