package raylib

  1. Overview
  2. Docs
type t'
type t = t' ctyp
val t : t Ctypes.typ
val sample_rate : t -> Unsigned.uint

Frequency (samples per second)

val sample_size : t -> Unsigned.uint

Bit depth (bits per sample): 8, 16, 32 (24 not supported)

val channels : t -> Unsigned.uint

Number of channels (1-mono, 2-stereo, ...)

val set_sample_rate : t -> Unsigned.uint -> unit
val set_sample_size : t -> Unsigned.uint -> unit
val set_channels : t -> Unsigned.uint -> unit
OCaml

Innovation. Community. Security.