package mm

  1. Overview
  2. Docs
The mm library contains high-level to create and manipulate multimedia streams (audio, video, MIDI)

Install

Dune Dependency

Authors

Maintainers

Sources

v0.7.2.tar.gz
md5=c402e924951cc299541bae67fb413440
sha512=a8bffa9cd9b1b42c05c6d6af11648162d4189afe2a36a93883e08d7260f6cbe7fa6f3ca6582434eb9a20746a7004684474516990127bad017e12f2c7e4abeb53

doc/mm.audio/Mm_audio/Audio/Ringbuffer/index.html

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.