lib/fmod/system.rb in fmod-0.9.0 vs lib/fmod/system.rb in fmod-0.9.1

- old
+ new

@@ -1024,12 +1024,12 @@ FMOD.invoke(:System_PlayDSP, self, dsp, group, paused.to_i, channel) Channel.new(channel) end def [](index) - reverb = int_ptr + reverb = Reverb.new FMOD.invoke(:System_GetReverbProperties, self, index, reverb) - Reverb.new(reverb.unpack1('J')) + reverb end def []=(index, reverb) FMOD.type?(reverb, Reverb) FMOD.invoke(:System_SetReverbProperties, self, index, reverb)