Problem with "alsasrc ! alsasink" working with pulseaudio

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

Problem with "alsasrc ! alsasink" working with pulseaudio

yiliang
Hi,

I have a pipeline "gst-launch alsasrc device=hw:1,0 ! alsasink" to play audio from an audio capture device. The sound quality is very poor. It is good for a brief period (seconds), then it becomes broken.

I did the following 2 experiments:

1. If I kill pulseaudio, the sound will play perfectly.
2. If I capture the audio to a file "gst-launch alsasrc device=hw:1,0 ! filesink location=a.pcm", then playback the captured file. Again the sound is perfect.

It looks like pulseaudio does not like to link alsasrc to alsasink directly on my ubuntu machine.:)

Has anyone seen similar problem?

Thanks,
Yiliang
Reply | Threaded
Open this post in threaded view
|

Re: Problem with "alsasrc ! alsasink" working with pulseaudio

Sin-2
Hello All,
 
Can someone please let me know what is the right way (or the set of APIs) to call for a greaceful shutwon of a gst-launch pipeline?  For instance, if there is an error in my own lib if a variable does not have correct value, I want to stop the execution.
 
Thanks in advance.
 
-S

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel