adder

adder — Add N audio channels together

Synopsis




                    GstAdder;

Object Hierarchy


  GObject
   +----GstObject
         +----GstElement
               +----GstAdder

Description

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.

Example launch line

gst-launch audiotestsrc freq=100 ! adder name=mix ! audioconvert ! alsasink audiotestsrc freq=500 ! mix.

This pipeline produces two sine waves mixed together.

The Adder currently mixes all data received on the sinkpads as soon as possible without trying to synchronize the streams.

Last reviewed on 2006-05-09 (0.10.7)

Element Information

plugin adder
author Thomas <thomas@apestaart.org>
class Generic/Audio

Element Pads

name src
direction source
presence always
details audio/x-raw-int, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int){ 1234, 4321 }, width=(int){ 8, 16, 24, 32 }, depth=(int)[ 1, 32 ], signed=(boolean){ true, false }; audio/x-raw-float, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int){ 1234, 4321 }, width=(int){ 32, 64 }
name sink%d
direction sink
presence request
details audio/x-raw-int, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int){ 1234, 4321 }, width=(int){ 8, 16, 24, 32 }, depth=(int)[ 1, 32 ], signed=(boolean){ true, false }; audio/x-raw-float, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int){ 1234, 4321 }, width=(int){ 32, 64 }

Details

GstAdder

typedef struct _GstAdder GstAdder;

The adder object structure.