$Date: 2005/10/22 13:22:42 $
$Revision: 1.16 $
-- Make from a_pointer that is possibly shared within the
-- process of the current OS.
-- (From EM_AUDIO)
-- Pointer to the wrapped struct
-- (From EWG_STRUCT)
-- Size of object
-- (From EWG_STRUCT)
-- Set internal_filename to a_filename.
-- (From EM_AUDIO)
-- Free up resource.
-- (From DISPOSABLE)
-- Play music with a_loop_count loops and a fade in of a_duration millseconds.
--
-- Special values for a_loop_count are:
-- -1: Plays forever
-- 0: Plays this music zero times
--
-- Attention: This function is non-blocking.
-- Please check if music is fading before
-- you quit your application.
-- Play music with a_loop_count loops and a fade in of a_duration millseconds
-- from a_position in track.
--
-- Special values for a_loop_count are:
-- -1: Plays forever
-- 0: Plays this music zero times
--
-- Note: Please check documentation for explanation of track position
-- for different file formats.
--
-- Attention: This function is non-blocking.
-- Please check if music is fading before
-- you quit your application.
-- Play music with a_loop_count loops.
--
-- Special values for a_loop_count are:
-- -1: Plays forever
-- 0: Plays this music zero times
-- Stop playing music with a fade out of a_duration millseconds.
--
-- Any callback set by mix_hook_music_finished won't be called
-- when music stops by user interaction.
--
-- Attention: This function is non-blocking.
-- Please check if music is fading before
-- you quit your application.
-- Stop playing music.
--
-- Any callback set by mix_hook_music_finished won't be called
-- when music stops by user interaction.
-- Rewinds this music to start.
--
-- Note: This function only works for these formats
-- MOD, OGG, MP3, Native MIDI
-- Set track position to a_position
--
-- Note: This function only works for these formats
-- MOD, OGG, MP3
--
-- Please check documentation for explanation of track position
-- for different file formats.
-- Set volume to a_volume.
-- a_volume is in range of [0..Em_max_volume].
--
-- If track is fading or you're using an external player,
-- set_volume has no effect.
-- Is track fading in or out?
-- Is track fading in?
-- Is track fading out?
-- Is track paused?
-- Is track playing?
-- Type of music
--
-- Em_music_none: No music
-- Em_music_command: Music using external command
-- Em_music_wave: WAVE/RIFF music
-- Em_music_mod: MOD music
-- Em_music_midi: MIDI music
-- Em_music_ogg: OGG music
-- Em_music_mp3: MP3 music
--
-- Note: These constants have been defined in {EM_AUDIO_CONSTANTS}
-- Volume in range [0..Em_max_volume]
-- Maximum value for any volume setting.
-- (From EM_AUDIO_CONSTANTS)
Implements a music file.
This file can be either WAVE, MOD, MIDI, OGG or MP3.
Note: You need to have special compiled version of SDL_mixer
to be able to play MP3-files. Please check documentation
for further details.