package mm

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Audio.RingbufferSource

Circular ringbuffers.

Sourcetype t

A ringbuffer.

Sourceval create : int -> int -> t

Create a ringbuffer of given number of channels and size (in samples).

Sourceval channels : t -> int
Sourceval read_space : t -> int
Sourceval write_space : t -> int
Sourceval read_advance : t -> int -> unit
Sourceval write_advance : t -> int -> unit
Sourceval peek : t -> buffer -> unit
Sourceval read : t -> buffer -> unit
Sourceval write : t -> buffer -> unit
Sourceval transmit : t -> (buffer -> int) -> int
OCaml

Innovation. Community. Security.