Class: FMOD::ChannelControl::ChannelDelay

Inherits:
Struct
  • Object
show all
Defined in:
lib/fmod/channel_control.rb

Overview

Represents the start (and/or stop) time relative to the parent channel group DSP clock, with sample accuracy.

Instance Attribute Summary collapse

Instance Attribute Details

#endInteger

The DSP clock of the parent channel group to audibly stop playing sound at.

Returns:

  • (Integer)

    the current value of end



179
180
181
# File 'lib/fmod/channel_control.rb', line 179

def end
  @end
end

#startInteger

The DSP clock of the parent channel group to audibly start playing sound at.

Returns:

  • (Integer)

    the current value of start



179
180
181
# File 'lib/fmod/channel_control.rb', line 179

def start
  @start
end

#stopBoolean

true to stop according to FMOD::ChannelControl#playing?, otherwise false to remain “active” and a new start delay could start playback again at a later time.

Returns:

  • (Boolean)

    the current value of stop



179
180
181
# File 'lib/fmod/channel_control.rb', line 179

def stop
  @stop
end