class SDL::Mix::Music

Defined in:

mix/music.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(filename, type : Type | Nil = nil) #

[View source]

Instance Method Detail

def fade_in(loops = -1, msec = 1000) #

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

[View source]
def finalize #

[View source]
def pause #

[View source]
def paused? #

[View source]
def play(repeats = -1) #

[View source]
def playing? #

[View source]
def resume #

[View source]
def rewind #

[View source]
def stop #

[View source]
def to_unsafe : Pointer(LibMix::Mix_Music) #

[View source]
def volume #

[View source]
def volume=(volume) #

[View source]