Tsdl_mixer provides bindings to SDL2_Mixer intended to be used with Tsdl.
tsdl-mixer — SDL2_mixer bindings for OCaml with Tsdl
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.
opam install tsdl-mixer
Starting from version 0.3, the library is usable in a toplevel (with
WARNING V0.3 Breaking change
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).