<div>Hi all,<br><br>Now I have ported the gstreamer to ARM 11,    and there is a OSS driver for this ARM board. So I am trying to make this sound workI have installed the plugin for ossaudio.But when i trying to play some media file, no sound came out, and the screen just show the PLAYING message ..<br><br>some addtional messages:<br>the osssink does play the audiotestsrc,and sounds a single tone;<br>the audioconvert works fine when "gst-launch -v filesrc location="/usr/local/bin/1.mp3" ! flump3dec ! audioconvert ! wavenc ! filesink location="/usr/local/bin/1.wav" ",I can hear the wav file on my PC,so the decodec is fine;<br>even no sound comes out when playing, but there are some noises when pipeline is just prerolling just before PLAYING.<br><br><br>Here are the command and output:<br>***********************************************************************************************************<br>mx31# gst-launch -v filesrc location="/usr/local/bin/1.mp3" ! flump3dec ! audioconvert ! audioresample ! osssink<br>Setting pipeline to PAUSED ...<br><br>MXC Enable Codec(write)<br>Feb  6 12:04:07 freescale user.warn kernel: <br>Feb  6 12:04:07 freescale user.warn kernel: MXC Enable Codec(write)<br>Pipeline is PREROLLING ...<br>/pipeline0/flump3dec0.src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2<br>/pipeline0/audioconvert0.src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(i2<br>/pipeline0/audioconvert0.sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(2<br>/pipeline0/audioresample0.src: caps = audio/x-raw-int, width=(int)16, depth=(int)16, signed=(boolean)true, endianness=(int)1234, channels=(int)2, rate=(int)0<br>/pipeline0/audioresample0.sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=2<br>/pipeline0/osssink0.sink: caps = audio/x-raw-int, width=(int)16, depth=(int)16, signed=(boolean)true, endianness=(int)1234, channels=(int)2, rate=(int)48000<br>Pipeline is PREROLLED ...<br>Setting pipeline to PLAYING ...<br>New clock: GstAudioSinkClock<br>mxc_audio_output_block:    count = 1024 <br>Feb  6 12:04:37 freescale user.warn kernel: mxc_audio_output_block:    count = 1024 <br><br>*************************************************************************************************************<br><br>So I'm studying the code of osssink although I am a totally newcomer to this gstreamer and Linux things.<br><br>Many Thanks,<br><br>Joyious<br></div><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div><br><!-- footer --><br> 
<hr>
<font style="font-size:12px;line-height:15px;">ɱ70ÍòÖÖľÂí²¡¶¾£¬</font><a style="font-size:12px;line-height:15px; color:blue; text-decoration:underline;" href="http://pro.163.com/event.ng/Type=click&FlightID=96648&AdID=98138&TargetID=635&Values=31,43,51,60,72,82,91,100,110,312,330,332,499,587,702,733,734&Redirect=http://adcn.doubleclick.net/clk;134682177;20226578;k%3Fhttp://www.rising.com.cn/2008/trial/index.htm">ÈðÐÇ2008°æÃâ·Ñ</a>