package sfml

  1. Overview
  2. Docs

Online documentation for the audio module

type music_src = [
  1. | `FromFile of string
  2. | `FromMemory of string
]
class music : music_src -> object ... end
class listener : object ... end
type sound_buffer_src = [
  1. | `FromFile of string
  2. | `FromMemory of string
  3. | `FromSamples of (int, Stdlib.Bigarray.int16_signed_elt, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Array1.t * int * int
]
class sound_buffer : sound_buffer_src -> object ... end
type sound_status = [
  1. | `paused
  2. | `playing
  3. | `stopped
]
class sound : object ... end
OCaml

Innovation. Community. Security.