Tiny refactor
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user