Top |
guint64 | alignment-threshold | Read / Write |
GstCaps * | caps | Read / Write |
guint64 | discont-wait | Read / Write |
guint | blocksize | Read / Write |
guint64 | output-buffer-duration | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstAggregator ╰── GstAudioAggregator ╰── GstAudioMixer ╰── GstLiveAdder
The audiomixer allows to mix several streams into one by adding the data. Mixed data is clamped to the min/max values of the data format.
Unlike the adder element audiomixer properly synchronises all input streams.
The input pads are from a GstPad subclass and have additional properties to mute each pad individually and set the volume:
1 |
gst-launch-1.0 audiotestsrc freq=100 ! audiomixer name=mix ! audioconvert ! alsasink audiotestsrc freq=500 ! mix. |
plugin |
audiomixer |
author |
Sebastian Dröge <sebastian@centricular.com> |
class |
Generic/Audio |
name |
sink_%u |
direction |
sink |
presence |
request |
details |
audio/x-raw, format=(string){ S32LE, U32LE, S16LE, U16LE, S8, U8, F32LE, F64LE }, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], layout=(string){ interleaved, non-interleaved } |
name |
src |
direction |
source |
presence |
always |
details |
audio/x-raw, format=(string){ S32LE, U32LE, S16LE, U16LE, S8, U8, F32LE, F64LE }, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], layout=(string){ interleaved, non-interleaved } |
“alignment-threshold”
property“alignment-threshold” guint64
Timestamp alignment threshold in nanoseconds.
Flags: Read / Write
Allowed values: <= 18446744073709551614
Default value: 40000000
“caps”
property“caps” GstCaps *
Set target format for mixing (NULL means ANY). Setting this property takes a reference to the supplied GstCaps object.
Flags: Read / Write
“discont-wait”
property“discont-wait” guint64
Window of time in nanoseconds to wait before creating a discontinuity.
Flags: Read / Write
Allowed values: <= 18446744073709551614
Default value: 1000000000
“blocksize”
property“blocksize” guint
Output block size in number of samples.
Flags: Read / Write
Default value: 1024
“output-buffer-duration”
property“output-buffer-duration” guint64
Output block size in nanoseconds.
Flags: Read / Write
Allowed values: >= 1
Default value: 10000000