package ffmpeg-swresample

  1. Overview
  2. Docs

Module SwresampleSource

This module perform audio resampling, rematrixing and sample format conversion operations.

Sourcemodule type AudioData = sig ... end

Audio data modules for Swresample module input and output parameterization.

Sourcetype options = [
  1. | Swresample__.Swresample_options.dither_type
  2. | Swresample__.Swresample_options.engine
  3. | Swresample__.Swresample_options.filter_type
]
Sourcetype ('i, 'o) ctx
Sourcemodule Make (I : AudioData) (O : AudioData) : sig ... end

Functor building an implementation of the swresample structure with parameterized input an output audio data types

Sourcemodule Bytes : sig ... end

Byte string with undefined sample format for interleaved channels. The sample format must be passed to the create function.

Sourcemodule U8Bytes : sig ... end

Unsigned 8 bit sample format byte string for interleaved channels.

Sourcemodule S16Bytes : sig ... end

Signed 16 bit sample format byte string for interleaved channels.

Sourcemodule S32Bytes : sig ... end

Signed 32 bit sample format byte string for interleaved channels.

Sourcemodule FltBytes : sig ... end

Float 32 bit sample format byte string for interleaved channels.

Sourcemodule DblBytes : sig ... end

Float 64 bit sample format byte string for interleaved channels.

Sourcemodule U8PlanarBytes : sig ... end

Unsigned 8 bit sample format byte string for planar channels.

Sourcemodule S16PlanarBytes : sig ... end

Signed 16 bit sample format byte string for planar channels.

Sourcemodule S32PlanarBytes : sig ... end

Signed 32 bit sample format byte string for planar channels.

Sourcemodule FltPlanarBytes : sig ... end

Float 32 bit sample format byte string for planar channels.

Sourcemodule DblPlanarBytes : sig ... end

Float 64 bit sample format byte string for planar channels.

Sourcemodule FloatArray : sig ... end

Float 64 bit sample format array for interleaved channels.

Sourcemodule PlanarFloatArray : sig ... end

Float 64 bit sample format array for planar channels.

Sourcemodule U8BigArray : sig ... end

Unsigned 8 bit sample format bigarray for interleaved channels.

Sourcemodule S16BigArray : sig ... end

Signed 16 bit sample format bigarray for interleaved channels.

Sourcemodule S32BigArray : sig ... end

Signed 32 bit sample format bigarray for interleaved channels.

Sourcemodule FltBigArray : sig ... end

Float 32 bit sample format bigarray for interleaved channels.

Sourcemodule DblBigArray : sig ... end

Float 64 bit sample format bigarray for interleaved channels.

Sourcemodule U8PlanarBigArray : sig ... end

Unsigned 8 bit sample format bigarray for planar channels.

Sourcemodule S16PlanarBigArray : sig ... end

Signed 16 bit sample format bigarray for planar channels.

Sourcemodule S32PlanarBigArray : sig ... end

Signed 32 bit sample format bigarray for planar channels.

Sourcemodule FltPlanarBigArray : sig ... end

Float 32 bit sample format bigarray for planar channels.

Sourcemodule DblPlanarBigArray : sig ... end

Float 64 bit sample format bigarray for planar channels.

Sourcemodule Frame : sig ... end

Audio frame with undefined sample format. The sample format must be passed to the create function.

Sourcemodule U8Frame : sig ... end

Unsigned 8 bit sample format audio frame for interleaved channels.

Sourcemodule S16Frame : sig ... end

Signed 16 bit sample format audio frame for interleaved channels.

Sourcemodule S32Frame : sig ... end

Signed 32 bit sample format audio frame for interleaved channels.

Sourcemodule FltFrame : sig ... end

Float 32 bit sample format audio frame for interleaved channels.

Sourcemodule DblFrame : sig ... end

Float 64 bit sample format audio frame for interleaved channels.

Sourcemodule U8PlanarFrame : sig ... end

Unsigned 8 bit sample format audio frame for planar channels.

Sourcemodule S16PlanarFrame : sig ... end

Signed 16 bit sample format audio frame for planar channels.

Sourcemodule S32PlanarFrame : sig ... end

Signed 32 bit sample format audio frame for planar channels.

Sourcemodule FltPlanarFrame : sig ... end

Float 32 bit sample format audio frame for planar channels.

Sourcemodule DblPlanarFrame : sig ... end

Float 64 bit sample format audio frame for planar channels.

OCaml

Innovation. Community. Security.