LunaLua global Sound and Music functions

This is a new Audio Engine based on the SDL Mixer library. It provides flexible SFX and Music functions to take more advanced usage of audio system.

Music common functions
There are common music functions which providing dynamic usage of music playback with ability to play any custom musics in one section. Also Fade-IN/Fade-OUT effects are available for usage. List of supported formats.

Music advanced functions
There are advanced music functions are giving an ability to work with SDL Mixer X library's music API directly: open any song, start/pause/resume it as you want. However, to use them, you must seize the section stream! Otherwise, SMBX Engine will override your playing music by that which is set as a music of section.

Music special functions
There are a special functions which giving able to seize music stream from SMBX Engine. Seizing of music stream giving able to play any musics with LUA code. With using of stream seizing you can correctly use the music stream with no bugs. Target section should have any switched default music ID to take ability pause/resume music when you switching from SMBX into another applications. (Level only)

Sound effects common functions
There are functions to work with sound effects and mixing channels. List of supported formats.