type sound = (int, Stdlib.Bigarray.int16_signed_elt)Tsdl.Sdl.bigarray
type repeat =
| Repeatof int
| Forever
val test : unit -> unit
val init : unit ->string option
Initialize SDL audio.
returns
the name of the audio driver.
val create_mixer : ?tracks:int ->?freq:int ->string option->t
Create the mixer an open sound device. Only s16le format is supported by the callback at this time. The mixer is initially paused, you need to unpause it before playing anything.