pulsesrc ! level show some noise
Arun Raghavan
arun at accosted.net
Thu Nov 6 23:09:26 PST 2014
On 7 November 2014 04:57, Adrian Pardini <listas at tangopardo.com.ar> wrote:
> On 6 November 2014 11:12, DuĊĦan Poizl <poizl at maindata.sk> wrote:
>> Can someone please try if it is my bug or something else? Take the
>> example code from this link
>> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-level.html
>>
>>
>> 1. run $ pactl load-module module-null-sink
>> 2. in code replace "audiotestsrc" with "pulsesrc"
>> 3. add g_object_set(audiotestsrc, "device", "null.monitor", NULL);
>>
>> compile and watch the dB values.
>
>
> Hi, here with GStreamer 1.2.0 I got:
>
> channel 0
> RMS: -700.000000 dB, peak: -350.000000 dB, decay: -350.000000 dB
> normalized rms value: 0.000000
> channel 1
> RMS: -61.419345 dB, peak: -24.974959 dB, decay: -24.974959 dB
> normalized rms value: 0.000849
I too see the same problem with 1.2, but not on master. The only code
change in between, which is the likely fix as well, is:
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=b21b46a07a758679be4917474df655fcc1c3453b
Regards,
Arun
More information about the gstreamer-devel
mailing list