From: rong w. <rho...@ya...> - 2006-03-22 13:40:04
|
Forget to say, I used aplay application to play music through alsa driver, it is just fine. but when using gstreamer ALSA plugin, it hangs there. Thanks Rong --- rong wang <rho...@ya...> wrote: > I tried to run following command > gst-launch audiotestsrc ! alsasink > > then there is no sound coming out, also, it hangs, I > cannot use control-c to come out. > > On the same board if I used following board > gst-launch audiotestsrc ! osssink > > then I can hear the sine tune coming out. > > After running gst-launch audiotestsrc ! alsasink > > I got following result: > > gst_alsasink_get_typr > gst_alsasink_base_init > gst_alsasink_class_init > gst_alsasink_init > Setting pipeline to PAUSED ... > gst_alsasink_open > gst_alsasink_get_typr > alsa sink open successfully > Pipeline is PREROLLING ... > gst_alsasink_prepare > gst_alsasink_get_typr > alsasink_parse_spec > Negotiating to 1 channels @ 44100 Hzset_swparams > Pipeline is PREROLLED ... > Setting pipeline to PLAYING ... > gst_alsasink_delay > gst_alsasink_get_typr > New clock: audioclock0 > gst_alsasink_get_typr > gst_alsasink_write > Just before snd_pcm_writei operation > > > some debug message are what I added in alsasink.c. > currently, I know it never come back from > snd_pcm_writei function. > > Thanks for the advice in advance. > > Rong > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |