Method: FMOD::ChannelControl::DspChain#move

Defined in:
lib/fmod/channel_control.rb

#move(dsp, index) ⇒ self

Moves a DSP unit that exists in this FMOD::ChannelControl::DspChain to a new index.

Parameters:

Returns:



152
153
154
155
156
# File 'lib/fmod/channel_control.rb', line 152

def move(dsp, index)
  FMOD.type?(dsp, Dsp)
  FMOD.invoke(:ChannelGroup_SetDSPIndex, @channel, dsp, index)
  self
end