aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Audio/Renderer/Server/Voice
diff options
context:
space:
mode:
authorMary-nyan <mary@mary.zone>2022-07-25 20:46:33 +0200
committerGitHub <noreply@github.com>2022-07-25 15:46:33 -0300
commit1825bd87b4f0709ab79ed407f6c267ba3545456e (patch)
tree3309fa4aea0cb8d17715a3ee5f5e04acd376681f /Ryujinx.Audio/Renderer/Server/Voice
parent62f8ceb60b969db65a24d312dde7c6513a07ec46 (diff)
misc: Reformat Ryujinx.Audio with dotnet-format (#3485)
This is the first commit of a series of reformat around the codebase as discussed internally some weeks ago. This project being one that isn't touched that much, it shouldn't cause conflict with any opened PRs.
Diffstat (limited to 'Ryujinx.Audio/Renderer/Server/Voice')
-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
4 files changed, 6 insertions, 6 deletions
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