# volume

The volume element changes the volume of the audio data.

## Example launch line

     gst-launch-1.0 -v -m audiotestsrc ! volume volume=0.5 ! level ! fakesink silent=TRUE

This pipeline shows that the level of audiotestsrc has been halved (peak values are around -6 dB and RMS around -9 dB) compared to the same pipeline without the volume element.

## Hierarchy

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

## Implemented interfaces

    GstStreamVolume

## Factory details

Authors: – Andy Wingo <wingo></wingo>

Classification: – `Filter/Effect/Audio`

Rank – none

Plugin – volume

Package – GStreamer Base Plug-ins

## Pad Templates

### `sink`

    audio/x-raw:
             format: { F32LE, F64LE, S8, S16LE, S24LE, S32LE }
               rate: [ 1, 2147483647 ]
           channels: [ 1, 2147483647 ]
             layout: interleaved

Presence – always

Direction – sink

Object type – GstPad

### `src`

    audio/x-raw:
             format: { F32LE, F64LE, S8, S16LE, S24LE, S32LE }
               rate: [ 1, 2147483647 ]
           channels: [ 1, 2147483647 ]
             layout: interleaved

Presence – always

Direction – src

Object type – GstPad

## Properties

### mute

    “mute” gboolean

mute channel

Flags : Read / Write

Default value : false

### volume

    “volume” gdouble

volume factor, 1.0=100%%

Flags : Read / Write

Default value : 1

### volume-full-range

    “volume-full-range” gdouble

The volume-full-range factor is a range from 0.0 to G_MAXDOUBLE so it is very inclusive, e.g. gain of +48 dB is very reasonable. This property allows setting higher value than the volume property.

Flags : Read / Write

Default value : 1

Since : 1.24

The results of the search are