Gstreamer Volume Element - Bug??

Sebastian Dröge sebastian.droege at collabora.co.uk
Tue Oct 11 08:38:25 PDT 2011


On Tue, 2011-10-11 at 08:21 -0700, akaChella wrote:
> Hi All, 
> 
> I have used volume element of gstreamer in my pipeline to control the
> volume.
> 
> Could any one please clarify what the volume factor of "volume" property
> means?? 
> 
> In gstreamer reference manual, they have given the definition as follows:
> 
>                        *volume factor, 1.0=100%.*
> 
>                        *Allowed values: [0,10]*
> 
>                        *Default value: 1*
> 
> They say, allowed value is from 0 to 10, but 1.0 = 100%. Sounds
> confusing..!!
> 
> When i set the volume property to 0, No audio. when the volume property as
> 1, 2, 3, 4 and 5, the volume increases gradually. But when i set the volume
> property to 8, i am not able to listen to any audio. [Audio is set to mute]. 
> 
> Any idea??

There was a bug in older versions of volume that caused a volume of 0 if
volume=8 was used. volume=1.0 means "original volume", volume=2.0 means
that every sample is scaled by a (linear) factor of 2, etc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111011/db562cf5/attachment.pgp>


More information about the gstreamer-devel mailing list