<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:SimSum;font-size:12pt"><DIV>Hi, Monroe</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks for your help.</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=4><FONT size=3>"Bellagio uses gstreamer ?</FONT>&nbsp;&nbsp;"</FONT></DIV>
<DIV><FONT size=4><FONT size=3>Bellagio&nbsp;is a media framework abiding by &lt;&lt;OpenMax IL Spec.&gt;&gt;. </FONT></FONT></DIV>
<DIV>Its position and function in application development is like Gstreamer, I think.</DIV>
<DIV>&nbsp;</DIV>
<DIV>The web sites <A href="http://www.khronos.org/openmax/"><FONT color=#810081>http://www.khronos.org/openmax/</FONT></A>&nbsp; &amp; <A href="http://omxil.sourceforge.net/"><FONT color=#810081>http://omxil.sourceforge.net/</FONT></A></DIV>
<DIV>have more introductions to Bellagio.&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=4><FONT size=3>There&nbsp;are&nbsp;two questions I have had until now&nbsp;( in Gstreamer backend )</FONT> :</FONT></DIV>
<P>&nbsp;</P>
<P>1.&nbsp; In the source of Gstreamer backend,&nbsp;some bins are created in "mediaobject :: createPipeline" , </P>
<P>&nbsp;&nbsp;&nbsp;&nbsp; and another is created in "AudioOutput::AudioOutput". How does the "createPath" link&nbsp;the two parts? </P>
<P>&nbsp;</P>
<P>2. The Bellagio uses the multi-thread technology( pthread ).&nbsp;When an application is developed </P>
<P>&nbsp;&nbsp;&nbsp; with Bellagio APIs,&nbsp;you should call some APIs to&nbsp;process the threads. But I find that&nbsp;&nbsp;</P>
<P>&nbsp;&nbsp;&nbsp; it isn't compatible with Qt framework, when I add the APIs into&nbsp;Phonon source.&nbsp;</P>
<P>&nbsp;&nbsp;&nbsp; Why is the&nbsp;Gstreamer so compatible with Qt ?&nbsp; The reason maybe Gstreamer using the </P>
<P>&nbsp;&nbsp;&nbsp; "g_signal" is similar to Qt "signal/ slot ". Is that right ? </P>
<P>&nbsp;</P>
<P>I read the source of phonon about three weeks,&nbsp;and make a superfical porting. </P>
<P>Just&nbsp;add the&nbsp;Bellagio APIs&nbsp;&nbsp;to class MediaObject's constructor,destructor, </P>
<P>createPipeline,and setState. It can play an audio file now. But this poring breaks </P>
<P>the Qt, Phoon framwork. That isn't the result I want. </P>
<P>&nbsp;</P>
<P>Thanks, </P>
<P>Cheeray.</P>
<P>&nbsp;</P>
<P>&nbsp;<BR></P>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: SimSum">
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">----- 原始邮件 ----<BR>发件人: Ian Monroe &lt;ian@monroe.nu&gt;<BR>收件人: 启宇 黄 &lt;cheeray_7@yahoo.com.cn&gt;<BR>抄送: phonon &lt;phonon-backends@kde.org&gt;<BR>已发送: 2008/7/25(周五), 上午11:16:18<BR>主题: Re: The Phonon Backend Development.<BR><BR>2008/7/24 启宇 黄 &lt;<A href="mailto:cheeray_7@yahoo.com.cn" ymailto="mailto:cheeray_7@yahoo.com.cn">cheeray_7@yahoo.com.cn</A>&gt;:<BR>&gt;<BR>&gt; Hi, all,<BR>&gt;<BR>&gt; I&nbsp; want to develop a new backend for Phonon with Bellagio or&nbsp; port the<BR>&gt; Ballagio to Phonon framework to replace the Gstreamer.<BR><BR>Bellagio uses gstreamer?<BR><BR>&gt; Is that possible ?&nbsp; And I find the references of Phonon backend development<BR>&gt; too little.<BR><BR>Your best resource is likely to look at the code for the Gstreamer or<BR>Xine phonon backends. And if you have a more specific
 question, this<BR>is the place to ask.<BR><BR>&gt; Who can share some with me and give me some suggestions ?<BR>&gt;<BR>&gt; Thanks.<BR>&gt;<BR>&gt; Cheeray.<BR></DIV></DIV></div><br>


      <hr size=1><a href="http://cn.mail.yahoo.com/"> 雅虎邮箱,您的终生邮箱!</a></body></html>