package raylib

  1. Overview
  2. Docs

Module Raylib.AudioStreamSource

Sourcetype t'
Sourcetype t = t' ctyp
Sourceval t : t Ctypes.typ
Sourceval sample_rate : t -> Unsigned.uint

Frequency (samples per second)

Sourceval sample_size : t -> Unsigned.uint

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

Sourceval channels : t -> Unsigned.uint

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

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

Innovation. Community. Security.