Page
Library
Module
Module type
Parameter
Class
Class type
Source
Tsdl_mixer provides bindings to SDL2_mixer intended to be used with Tsdl.
It has as siblings tsdl-image and tsdl-ttf.
Note that these bindings are at an early stage and have only been used minimally. The interface may change. Comments and bug reports are welcome through the github page.
Via opam:
opam install tsdl-mixer
Documentation is here. It can be generated with dune build @doc
, but the binding follows the SDL2_mixer interface closely, so it may be sufficient to consult its documentation.
Starting from version 0.3, the library is usable in a toplevel (with #require "tsdl-mixer"
).
Starting from 0.3, the library name is the same as the opam package name tsdl-mixer
. (The library name used to be tsdl_mixer
, which was confusing).
https://ci.ocamllabs.io/github/sanette/tsdl-mixer