View Source Membrane.AudioInterleaver.DoInterleave (Membrane Audio Mix plugin v0.16.0)

Module responsible for interleaving audio tracks (all in the same format, with 1 channel) in a given order.

Link to this section Summary

Functions

Order queues according to order, take bytes_per_channel from each queue (all queues must be at least bytes_per_channel long), and interleave them.

Link to this section Functions

Link to this function

interleave(bytes_per_channel, sample_size, pads, order)

View Source
@spec interleave(pos_integer(), pos_integer(), %{}, [integer()]) :: {any(), map()}

Order queues according to order, take bytes_per_channel from each queue (all queues must be at least bytes_per_channel long), and interleave them.