Yes this is an embedded system. As I stated in my previous post aplay, alsamixer and playing MPEG4 movies through gstreamer works just fine. Problem occurs when I try playing ogg files through the pipeline specified.<br>Cheers <br>
Ogi<br><br><div class="gmail_quote">On Tue, Dec 28, 2010 at 12:10 PM, Michael Trimarchi <span dir="ltr">&lt;<a href="mailto:michael@panicking.kicks-ass.org">michael@panicking.kicks-ass.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi<br>
<div class="im"><br>
On 12/28/2010 07:27 PM, Radivoje Jovanovic wrote:<br>
&gt; Hi,<br>
&gt; I have ALSA driver for my card and it works fine when I try playing sound<br>
&gt; through aplay or watch movies through gstreamer, but if I try to do:<br>
&gt; gst-launch-0.10 filesrc location=FILE_NAME.ogg ! oggdemux ! vorbisdec !<br>
&gt; audioconvert ! audioresample ! alsasink<br>
&gt; it comes back:<br>
&gt; Pipeline is PREROLLING ...<br>
&gt; ERROR: from element /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Could not<br>
&gt; get/set settings from/on resource.<br>
&gt; Additional debug info:<br>
&gt; gstalsasink.c(519): set_hwparams ():<br>
&gt; /GstPipeline:pipeline0/GstAlsaSink:alsasink0:<br>
&gt; Unable to set hw params for playback: Invalid argument<br>
&gt; ERROR: pipeline doesn&#39;t want to preroll.<br>
&gt; Setting pipeline to NULL ...<br>
<br>
</div>is this an embedded system. Can you try to use alsamixer, aplay and arecord to test if your driver<br>
is working correctly?<br>
Michael Trimarchi<br>
<div class="im"><br>
&gt;<br>
&gt; So it comes back that alsa cannot setup correctly even though alsasink works<br>
&gt; correctly when I play MPEG movies.<br>
&gt; any thoughts?<br>
&gt; Cheers<br>
&gt; Ogi<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div>&gt; ------------------------------------------------------------------------------<br>
&gt; Learn how Oracle Real Application Clusters (RAC) One Node allows customers<br>
&gt; to consolidate database storage, standardize their database environment, and,<br>
&gt; should the need arise, upgrade to a full multi-node Oracle RAC database<br>
&gt; without downtime or disruption<br>
&gt; <a href="http://p.sf.net/sfu/oracle-sfdevnl" target="_blank">http://p.sf.net/sfu/oracle-sfdevnl</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br>
<br>
------------------------------------------------------------------------------<br>
Learn how Oracle Real Application Clusters (RAC) One Node allows customers<br>
to consolidate database storage, standardize their database environment, and,<br>
should the need arise, upgrade to a full multi-node Oracle RAC database<br>
without downtime or disruption<br>
<a href="http://p.sf.net/sfu/oracle-sfdevnl" target="_blank">http://p.sf.net/sfu/oracle-sfdevnl</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>