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.4.tar.gz
md5=c37d3d7300159c55f7f661afa702350f
sha512=14eae4f480fa6b2f94811059c4811f0b967de32819b6908e0f3c03579f912614cad7351c12eb31c485b25a8dd4e86091853f93890a491a74c91a5b12e98ff28d

CHANGES.md.html

0.7.4 (28-01-2022)

  • Implement low-level audio manipulation in C to avoid needless allocations.

  • Add Audio.Mono.squares

  • Cleanup aligned memory allocation.

0.7.3 (10-12-2021)

  • Remove usage of __mingw_aligned_malloc as it needs a special free call.

0.7.2 (22-11-2021)

  • Fix offsets in to_{s16, u8} functions.

  • Switch to aligned_alloc for allocate aligned memory, fix minor heap stats when allocating bigarrays with aligned memory. (ocaml/ocaml#10788)

0.7.1 (10-01-2021)

  • Use only our own custom byte swap implementations.

0.7.0 (04-01-2021)

  • Switch to dune!

  • Add set_alpha

  • Add box_alpha

0.6.0 (12-10-2020)

  • Use YUV420 for video frames.

  • Use bigarrays to implement mono audio buffers, should be more efficient.

  • Add Image.Generic.blank.

  • Add scale and disk effects on alpha channel for YUV420.

  • Make sure to_mono initializes an audio array with zeroes.

0.5.0 (18-08-2019)

  • New implementation of YUV420, added many function to manipulate those.

  • Enhanced Video module.

0.4.1 (27-06-2019)

  • Fix memory leak in RGBA32.of_RGB24_string.

  • Add YUV420.of_string.

0.4.0 (18-08-2018)

  • Use bytes instead of strings whenever appropriate.

0.3.1 (16-10-2017)

  • Fixed compilation with OCaml 4.06

0.3.0 (03-08-2015)

  • Add support for S16BE, S24LE and S32LE

  • Fix deprecated APIs

0.2.1 (2013-02-18)

  • Add pulseaudio backend.

  • Add channel and rate parameters for AO.

  • Add resampling mode (Nearest or Linear).

  • Remove on-the-fly samplerate conversions which were of bad quality (please use a proper resampler such as ocaml-samplerate instead).

  • Handle BGRA format.

  • Check for memory allocation failures.

  • Add a video player example.

0.2.0 (2011-10-04)

  • Add alpha channel for drawn lines.

  • Improved autoconf.

0.1.0 (2011-06-30)

  • Initial release.

OCaml

Innovation. Community. Security.