Tiny refactor

This commit is contained in:
2024-10-18 16:12:24 +02:00
parent 8ee000ab74
commit 1d5b4499a4
38 changed files with 645 additions and 637 deletions

View File

@@ -3265,11 +3265,11 @@ namespace FMOD
// Connection / disconnection / input and output enumeration.
public RESULT addInput(DSP input)
{
return FMOD5_DSP_AddInput(this.handle, input.handle, IntPtr.Zero, DSPCONNECTION_TYPE.STANDARD);
return FMOD5_DSP_AddInput(this.handle, engine.input.handle, IntPtr.Zero, DSPCONNECTION_TYPE.STANDARD);
}
public RESULT addInput(DSP input, out DSPConnection connection, DSPCONNECTION_TYPE type = DSPCONNECTION_TYPE.STANDARD)
{
return FMOD5_DSP_AddInput(this.handle, input.handle, out connection.handle, type);
return FMOD5_DSP_AddInput(this.handle, engine.input.handle, out connection.handle, type);
}
public RESULT disconnectFrom(DSP target, DSPConnection connection)
{
@@ -3289,7 +3289,7 @@ namespace FMOD
}
public RESULT getInput(int index, out DSP input, out DSPConnection inputconnection)
{
return FMOD5_DSP_GetInput(this.handle, index, out input.handle, out inputconnection.handle);
return FMOD5_DSP_GetInput(this.handle, index, out engine.input.handle, out inputconnection.handle);
}
public RESULT getOutput(int index, out DSP output, out DSPConnection outputconnection)
{
@@ -3568,7 +3568,7 @@ namespace FMOD
{
public RESULT getInput(out DSP input)
{
return FMOD5_DSPConnection_GetInput(this.handle, out input.handle);
return FMOD5_DSPConnection_GetInput(this.handle, out engine.input.handle);
}
public RESULT getOutput(out DSP output)
{