# audiochannelmix

The audiochannelmix element mixes channels in stereo audio based on properties set on the element. The primary purpose is reconstruct equal left/right channels on an input stream that has audio in only one channel.

## Example launch line

     gst-launch-1.0 -v audiotestsrc ! audiochannelmix ! autoaudiosink

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseTransform
                        ╰──GstAudioFilter
                            ╰──audiochannelmix

## Factory details

Authors: – David Schleef

Classification: – `Audio/Mixer`

Rank – none

Plugin – audiofxbad

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    audio/x-raw:
             format: S16LE
               rate: [ 1, 2147483647 ]
           channels: 2
             layout: interleaved

Presence – always

Direction – sink

Object type – GstPad

### `src`

    audio/x-raw:
             format: S16LE
               rate: [ 1, 2147483647 ]
           channels: 2
             layout: interleaved

Presence – always

Direction – src

Object type – GstPad

## Properties

### left-to-left

    “left-to-left” gdouble

Left channel to left channel gain

Flags : Read / Write

Default value : 1

### left-to-right

    “left-to-right” gdouble

Left channel to right channel gain

Flags : Read / Write

Default value : 0

### right-to-left

    “right-to-left” gdouble

Right channel to left channel gain

Flags : Read / Write

Default value : 0

### right-to-right

    “right-to-right” gdouble

Right channel to right channel gain

Flags : Read / Write

Default value : 1

The results of the search are