need help to change buffer size and period size in pulsesrc

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

need help to change buffer size and period size in pulsesrc

ABDUL MOIZ
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.

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
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: need help to change buffer size and period size in pulsesrc

Stefan Sauer
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 [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel