Membrane.AudioMixer.DoMix (Membrane Audio Mixer plugin v0.1.1) View Source
Module responsible for mixing audio tracks (all in the same format, with the same number of channels and sample rate). Result is a single path in the format mixed paths are encoded in. If overflow happens during mixing, it is being clipped to the max value of sample in this format.
Link to this section Summary
Functions
Mixes buffers
to one buffer. Given buffers should have equal sizes. It uses information about
samples provided in caps
.
Link to this section Functions
Specs
mix([binary()], Membrane.Caps.Audio.Raw.t()) :: binary()
Mixes buffers
to one buffer. Given buffers should have equal sizes. It uses information about
samples provided in caps
.