tsdl

Thin bindings to SDL for OCaml
Library tsdl
Module Tsdl . Sdl . Audio

Audio status

type status = int
val stopped : status
val playing : status
val paused : status

Audio format

type format = int
val s8 : format
val u8 : format
val s16_msb : format
val s16_sys : format
val s16 : format
val s16_lsb : format
val u16_msb : format
val u16_sys : format
val u16 : format
val u16_lsb : format
val s32_msb : format
val s32_sys : format
val s32 : format
val s32_lsb : format
val f32_lsb : format
val f32_msb : format
val f32_sys : format
val f32 : format

Audio allowed changes

type allow = int
val allow_frequency_change : int
val allow_format_change : int
val allow_channels_change : int
val allow_any_change : int