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) #

[View source]

Class Method Detail

def self.allocate_channels(count : Int32) #

[View source]
def self.channels #

[View source]
def self.expire(*args) #

[View source]
def self.fade_in(*args) #

[View source]
def self.fade_out(*args) #

[View source]
def self.finished(func) #

[View source]
def self.paused_count(*args) #

[View source]
def self.play(*args) #

[View source]
def self.reserve_channels(count : Int32) #

[View source]
def self.reserved #

[View source]
def self.resume(*args) #

[View source]
def self.volume(*args) #

[View source]
def self.volume=(value) #

[View source]

Instance Method Detail

def expire #

[View source]
def fade_in(sample : Sample, loops = 0, ms = 1000, ticks = -1) #

[View source]
def fade_out(ms = 1000) #

[View source]
def fading? #

[View source]
def id : Int32 #

[View source]
def id=(id : Int32) #

[View source]
def paused? #

[View source]
def play(sample : Sample, repeats = 0, ticks = -1) #

[View source]
def volume #

[View source]
def volume=(volume) #

[View source]