volume

volume — Set volume on audio/raw streams

Synopsis




            GstVolume;

Object Hierarchy


  GObject
   +----GstObject
         +----GstElement
               +----GstBaseTransform
                     +----GstVolume

Implemented Interfaces

GstVolume implements GstImplementsInterface and GstMixer.

Properties


  "mute"                 gboolean              : Read / Write
  "volume"               gdouble               : Read / Write

Description

Example launch line

gst-launch -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.

Element Information

plugin volume
author Andy Wingo <wingo@pobox.com>
class Filter/Effect/Audio

Details

GstVolume

typedef struct _GstVolume GstVolume;

Properties

The "mute" property

  "mute"                 gboolean              : Read / Write

mute.

Default value: FALSE


The "volume" property

  "volume"               gdouble               : Read / Write

volume.

Allowed values: [0,4]

Default value: 1