mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
misc: chore: Discard unused parameters
This commit is contained in:
1 parent
d773bd60f4
commit
0928851966
42 files changed
+97
-97
No files matched your search
@@ -43,7 +43,7 @@ namespace Ryujinx.Audio.Backends.SoundIo.Native
|
||||
}
|
||||
else
|
||||
{
|
||||
_onBackendDisconnectNative = (ctx, err) => _onBackendDisconnect(err);
|
||||
_onBackendDisconnectNative = (_, err) => _onBackendDisconnect(err);
|
||||
}
|
||||
|
||||
GetContext().OnBackendDisconnected = Marshal.GetFunctionPointerForDelegate(_onBackendDisconnectNative);
|
||||
|
||||
@@ -99,7 +99,7 @@ namespace Ryujinx.Audio.Backends.SoundIo.Native
|
||||
}
|
||||
else
|
||||
{
|
||||
_writeCallbackNative = (ctx, frameCountMin, frameCountMax) => _writeCallback(frameCountMin, frameCountMax);
|
||||
_writeCallbackNative = (_, frameCountMin, frameCountMax) => _writeCallback(frameCountMin, frameCountMax);
|
||||
}
|
||||
|
||||
GetOutContext().WriteCallback = Marshal.GetFunctionPointerForDelegate(_writeCallbackNative);
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace Ryujinx.Audio.Backends.SoundIo
|
||||
try
|
||||
{
|
||||
context = SoundIoContext.Create();
|
||||
context.OnBackendDisconnect = err =>
|
||||
context.OnBackendDisconnect = _ =>
|
||||
{
|
||||
backendDisconnected = true;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user