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:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user