need help to change buffer size and period size in pulsesrc

Stefan Kost ensonic at hora-obscura.de
Thu Aug 18 05:36:38 PDT 2011


On 08/18/11 14:11, ABDUL MOIZ wrote:
> Hi,
>
>        I am using USB mic on Pandaboard (OMAP4)  with ubuntu 11.04
> installed.
>
> I am running the below pipeline
>
> $ gst-launch pulsesrc ! pulsesink
>
> I am getting poor audio quality (noise added)
>
> So therefore I want to change the buffer-size and period size.
> I tried with options like "buffer-time" and "latency-time" but there
> is no differnce in the output.

Why do you belive the bad audio quality comes from the settings of
"buffer-size and period size."? Try to check if recording works fine by
recoding to a pcm wav file:

gst-launch -e pulsesrc ! audioconvert ! waveenc ! filesink
location="test.wav"

Stefan

>
> Can anybody suggest , how to set the buffer size and period size
> properly so that i can improve the audio quality.
>
> Regards,
> Abdul Moiz
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110818/05967e54/attachment.htm>


More information about the gstreamer-devel mailing list