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

Factory details

Authors: – Andy Wingo

Classification:Filter/Effect/Audio

Rank – none

Plugin – gstvolume

Package – GStreamer Base Plug-ins git

Pad Templates

sink

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

Presencealways

Directionsink


src

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

Presencealways

Directionsrc


Properties

mute

“mute” gboolean

mute channel

Flags : Read / Write

Default value : false


name

“name” gchararray

The name of the object

Flags : Read / Write / Construct

Default value : NULL


parent

“parent” GstObject *

The parent of the object

Flags : Read / Write


qos

“qos” gboolean

Handle Quality-of-Service events

Flags : Read / Write

Default value : false


volume

“volume” gdouble

volume factor, 1.0=100%%

Flags : Read / Write

Default value : 1


The results of the search are