Re: media adds on

"Salvatore Benedetto" <[email protected]> Thu, 12 Jul 2007 14:49:42 +0200
Newsgroups gmane.os.openbeos.mediakit
Message-ID <[email protected]>
------=_Part_15270_20062291.1184244582276
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 7/12/07, Marcus Overhagen <[email protected]> wrote:
>
> Salvatore Benedetto wrote:
>
> > In order to have the media_addon loaded, it has to placed under
> > /boot/beos/system/add-ons/media right? Apparently the only media
>
> no, you should place it in /boot/home/config/add-ons/media


Ok, I'll create a media directory and place the usb_webcam.addons in there
and see
what happens.

> add ons that gets loaded is the mixer, while the usb_webcam is not longer
> > loaded even if it's there. Since it used to get loaded, before I started
> > coding it,
>
> err sorry, how did you do that?


I'm starting to think it's a coincidence  with an updated of Haiku.
Something changed for sure,
don't know where. The matter of the fact is, there is not logitech entry
anymore under video in
the Media window as it used to be.

> I need to know why it doesn't get loaded anymore,  and for that I need
> its,
> > or the media_server, debug info. :)
>
> On BeOS and Zeta, appeareantly only nodes the mixer node, and one
> node thas has physical outputs and is connected to the mixer get
> instantiated.
> Additionally, nodes that return true from WantsAutoStart() are also
> instantiated. Be careful, the BeBook documents the function signature
> wrong, it must be:
> virtual bool WantsAutoStart();


Ok thanks.

For Haiku, this comment should describe what happens. Contrary to R5,
> it will instantiate all physical input/outputs.
>
>         // During startup, first all add-ons are loaded, then all
>         // nodes (flavors) representing physical inputs and outputs
>         // are instantiated. Next, all add-ons that need autostart
>         // will be autostarted. Finally, add-ons that don't have
>         // any active nodes (flavors) will be unloaded.


Actually, when starting the media_server some errors about regarding
physical node appears, like

### ERROR: Couldn't fine physical video output node

Same for input node, and input/output audio node. There is also an error at
the very
beginning about the MediaServerPort that cannot be found, same as
MediaAddonServerPort.


regards
> Marcus


Salvo

------=_Part_15270_20062291.1184244582276
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 7/12/07, <b class="gmail_sendername">Marcus Overhagen</b> &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Salvatore Benedetto wrote:<br><br>&gt; In order to have the media_addon loaded, it has to placed under<br>&gt; /boot/beos/system/add-ons/media right? Apparently the only media<br><br>no, you should place it in /boot/home/config/add-ons/media
</blockquote><div><br>Ok, I&#39;ll create a media directory and place the usb_webcam.addons in there and see<br>what happens.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; add ons that gets loaded is the mixer, while the usb_webcam is not longer<br>&gt; loaded even if it&#39;s there. Since it used to get loaded, before I started<br>&gt; coding it,<br><br>err sorry, how did you do that?
</blockquote><div><br>I&#39;m starting to think it&#39;s a coincidence&nbsp; with an updated of Haiku. Something changed for sure,<br>don&#39;t know where. The matter of the fact is, there is not logitech entry anymore under video in
<br>the Media window as it used to be.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; I need to know why it doesn&#39;t get loaded anymore,&nbsp;&nbsp;and for that I need its,
<br>&gt; or the media_server, debug info. :)<br><br>On BeOS and Zeta, appeareantly only nodes the mixer node, and one<br>node thas has physical outputs and is connected to the mixer get<br>instantiated.<br>Additionally, nodes that return true from WantsAutoStart() are also
<br>instantiated. Be careful, the BeBook documents the function signature<br>wrong, it must be:<br>virtual bool WantsAutoStart();</blockquote><div><br>Ok thanks. <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
For Haiku, this comment should describe what happens. Contrary to R5,<br>it will instantiate all physical input/outputs.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// During startup, first all add-ons are loaded, then all<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// nodes (flavors) representing physical inputs and outputs
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// are instantiated. Next, all add-ons that need autostart<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// will be autostarted. Finally, add-ons that don&#39;t have<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// any active nodes (flavors) will be unloaded.</blockquote><div><br>
Actually, when starting the media_server some errors about regarding<br>physical node appears, like<br><br>### ERROR: Couldn&#39;t fine physical video output node<br><br>Same for input node, and input/output audio node. There is also an error at the very
<br>beginning about the MediaServerPort that cannot be found, same as MediaAddonServerPort.<br><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
regards<br>Marcus</blockquote><div><br>Salvo <br></div></div>

------=_Part_15270_20062291.1184244582276--