Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.11 KB

README.md

File metadata and controls

38 lines (27 loc) · 1.11 KB

sdl2-mixer

Hackage Build Status

Haskell bindings to SDL2_mixer

Both the raw and the higher level bindings should allow you to use any aspect of the original SDL2_mixer library. Please report an issue if you encounter a bug or feel that something is missing.

Install
cabal install sdl2-mixer
Documentation

For documentation, visit Hackage.

The original SDL2_mixer documentation can also help, as the bindings are close to a direct mapping.

Examples

Several example executables are included with the library. You can find them in the examples directory.

cd sdl2-mixer
cabal run sdl2-mixer-basic <file>
cabal run sdl2-mixer-raw <file>
cabal run sdl2-mixer-music <file>
cabal run sdl2-mixer-jumbled <file1> ... <fileN>
cabal run sdl2-mixer-effect <file>