Top |
The adder allows to mix several streams into one by adding the data. Mixed data is clamped to the min/max values of the data format.
The adder currently mixes all data received on the sinkpads as soon as possible without trying to synchronize the streams.
1 |
gst-launch audiotestsrc freq=100 ! adder name=mix ! audioconvert ! alsasink audiotestsrc freq=500 ! mix. |
plugin |
adder |
author |
Thomas Vander Stichele <thomas at apestaart dot org> |
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 } |
“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