Membrane.AudioInterleaver.DoInterleave (Membrane Audio Mix plugin v0.16.4)

View Source

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

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.

Functions

interleave(bytes_per_channel, sample_size, pads, order)

@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.