audiofx plugins work with gst-launch but not from code

Stefan Kost ensonic at hora-obscura.de
Thu Sep 8 11:39:48 PDT 2011


On 09/01/11 01:47, cleojones wrote:
> Stefan Kost wrote:
>> first for simple gain - use volume element. In your case my guess (you
>> did not pointed us to the source code) is that you are doing
>> g_object_set(audioamplify,"amplification",2,NULL); instead of
>> g_object_set(audioamplify,"amplification",2.0f,NULL);
>>
> You're right - this was exactly the problem, resulting in setting of
> amplification to 0 as Sean also suggested. Thank you both!
>
> Interestingly, I  happened to see that 'lame' element includes a built-in
> low-pass filter set via the property "lowpass-freq" so it looks like I don't
> have to use the audiocheblimit element after all.
>
> Is the main difference between 'audioamplify' and 'volume' the clipping
> method?
volume is a normal gain element. audioamplify is something that you can
use in a synthesizer to also creat various distortion effects.

Stefan

> Thanks again!
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/audiofx-plugins-work-with-gst-launch-but-not-from-code-tp3779942p3782480.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list