Method: FMOD::Dsp#input

Defined in:
lib/fmod/dsp.rb

#input(index) ⇒ Dsp

Retrieves a DSP unit which is acting as an input to this unit.

Parameters:

  • Index of the input unit to retrieve.

Returns:

  • the input unit.



447
448
449
450
451
# File 'lib/fmod/dsp.rb', line 447

def input(index)
  input = int_ptr
  FMOD.invoke(:DSP_GetInput, self, index, input, nil)
  Dsp.from_handle(input)
end