class SDL::Mix::Channel
Defined in:
mix/channel.cr
Constant Summary
-
ANY =
new(-1)
Constructors
Class Method Summary
Instance Method Summary
Constructor Detail
def self.
new(id : Int32)
#
Class Method Detail
def self.
allocate_channels(count : Int32)
#
def self.
fade_in(*args)
#
def self.
fade_out(*args)
#
def self.
finished(func)
#
def self.
paused_count(*args)
#
def self.
reserve_channels(count : Int32)
#
def self.
volume=(value)
#
Instance Method Detail
def
fade_in(sample :
Sample, loops =
0, ms =
1000, ticks =
-1)
#
def
fade_out(ms =
1000)
#
def
play(sample :
Sample, repeats =
0, ticks =
-1)
#