diff options
Diffstat (limited to 'src/Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerState.cs')
-rw-r--r-- | src/Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerState.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerState.cs b/src/Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerState.cs index e508f35b..39a58c91 100644 --- a/src/Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerState.cs +++ b/src/Ryujinx.Audio/Renderer/Server/Upsampler/UpsamplerState.cs @@ -20,12 +20,12 @@ namespace Ryujinx.Audio.Renderer.Server.Upsampler /// <summary> /// The index of the <see cref="UpsamplerState"/>. (used to free it) /// </summary> - private int _index; + private readonly int _index; /// <summary> /// The <see cref="UpsamplerManager"/>. /// </summary> - private UpsamplerManager _manager; + private readonly UpsamplerManager _manager; /// <summary> /// The source sample count. @@ -65,4 +65,4 @@ namespace Ryujinx.Audio.Renderer.Server.Upsampler _manager.Free(_index); } } -}
\ No newline at end of file +} |