Class: FMOD::ChannelControl::ChannelDelay
- Inherits:
-
Struct
- Object
- Struct
- FMOD::ChannelControl::ChannelDelay
- 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
-
#end ⇒ Integer
The DSP clock of the parent channel group to audibly stop playing sound at.
-
#start ⇒ Integer
The DSP clock of the parent channel group to audibly start playing sound at.
-
#stop ⇒ Boolean
true
to stop according to #playing?, otherwisefalse
to remain “active” and a new start delay could start playback again at a later time.
Instance Attribute Details
#end ⇒ Integer
The DSP clock of the parent channel group to audibly stop playing sound at.
179 180 181 |
# File 'lib/fmod/channel_control.rb', line 179 def end @end end |
#start ⇒ Integer
The DSP clock of the parent channel group to audibly start playing sound at.
179 180 181 |
# File 'lib/fmod/channel_control.rb', line 179 def start @start end |
#stop ⇒ Boolean
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.
179 180 181 |
# File 'lib/fmod/channel_control.rb', line 179 def stop @stop end |