<DIV><includetail>Because of I I've not porting the alsa-lib incorrectly,</includetail></DIV>
<DIV>when you ./configure, should add option of "<SPAN class=Apple-style-span style="WORD-SPACING: 0px; FONT: medium Simsun; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><SPAN class=Apple-style-span style="FONT-SIZE: 14px; COLOR: rgb(51,51,51); LINE-HEIGHT: 26px; FONT-FAMILY: Arial; TEXT-ALIGN: left; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2px"><SPAN class=Apple-converted-space> </SPAN>--with-configdir=/usr/local/share</SPAN></SPAN>",,</:includetail></DIV>
<DIV>and you should copy the libasound.so to some lib dir ,</:includetail></DIV>
<DIV>and copy the directory "alsa" which alsa.conf in to the "/usr/local/share" dir,</:includetail></DIV>
<DIV>,this a common problem of porting alsa driver, </DIV>
<DIV>
<DIV> </DIV>
<DIV style="COLOR: #000">
<DIV style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 12px; PADDING-BOTTOM: 2px; PADDING-TOP: 2px; FONT-FAMILY: Arial Narrow">------------------ Original ------------------</DIV>
<DIV style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px">
<DIV id=menu_sender><B>From: </B> "gstreamer-embedded-request"<gstreamer-embedded-request@lists.freedesktop.org>;</DIV>
<DIV><B>Date: </B> Tue, Dec 20, 2011 04:00 AM</DIV>
<DIV><B>To: </B> "gstreamer-embedded"<gstreamer-embedded@lists.freedesktop.org>; <WBR></DIV>
<DIV></DIV>
<DIV><B>Subject: </B> gstreamer-embedded Digest, Vol 11, Issue 5</DIV></DIV>
<DIV> </DIV>Send gstreamer-embedded mailing list submissions to<BR>gstreamer-embedded@lists.freedesktop.org<BR><BR>To subscribe or unsubscribe via the World Wide Web, visit<BR>http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded<BR>or, via email, send a message with subject or body 'help' to<BR>gstreamer-embedded-request@lists.freedesktop.org<BR><BR>You can reach the person managing the list at<BR>gstreamer-embedded-owner@lists.freedesktop.org<BR><BR>When replying, please edit your Subject line so it is more specific<BR>than "Re: Contents of gstreamer-embedded digest..."<BR><BR><BR>Today's Topics:<BR><BR> 1. Playback open error on device 'default': No such file or<BR> directory ( SATURDAY Mr. )<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message: 1<BR>Date: Mon, 19 Dec 2011 17:09:30 +0800<BR>From: " SATURDAY Mr. " <756363769@qq.com><BR>Subject: Playback open error on device 'default': No such file or<BR>directory<BR>To: " gstreamer-embedded " <gstreamer-embedded@lists.freedesktop.org><BR>Message-ID: <tencent_3520534670C8893E6502C8E1@qq.com><BR>Content-Type: text/plain; charset="gbk"<BR><BR>Hi all:<BR>when I porting gstreamer and some plugins to arm-linux platform, I come across a trouble,<BR> <BR>when I use commandline "gst-launch playbin2 uri=file:///......", result is:<BR> the autoaudiosink is not working<BR> <BR>when I use commandline "gst-launch filesrc location=music.ogg ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! alsasink", result is:<BR> ERROR: from element /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Could not open audio device for playback.<BR> Playback open error on device 'default': No such file or directory<BR> <BR>before do those, I've add some device node below /dev/snd/....(timer?controlC0 ?pcmC0D0c ?pcmC0D0p)?<BR>and the plugins necessary have be cross-compiled and installed.<BR>and the kernel I used is Android's kernel(some driver necessary have included in kernel), I just make a file system,<BR>I think it maybe due to alsa driver can not find correct audio device to playback audio file, <BR>is there someone have come across this problem and can help me? thx a lot in advance.<BR>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20111219/ed7382e6/attachment-0001.htm><BR><BR>------------------------------<BR><BR>_______________________________________________<BR>gstreamer-embedded mailing list<BR>gstreamer-embedded@lists.freedesktop.org<BR>http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded<BR><BR><BR>End of gstreamer-embedded Digest, Vol 11, Issue 5<BR>*************************************************<BR><BR></DIV></:includetail></DIV>