[openbeosmediakit] Re: Media prefs

  • From: Jérôme Duval <korli@xxxxxxxx>
  • To: openbeosmediakit@xxxxxxxxxxxxx
  • Date: Wed, 25 Feb 2004 14:51:02 +0100

> Well, yes, sort of. For one, the order in which you link is important. 
> If you need something out of libmedia.so that's also found in libbe.so, 
> you should link against libmedia.so first.
> Another solution would be to check for the libmedia.so image and use 
> get_image_symbol() on it to find the function you are searching for - 
> but of course, that would be kind of a hack.

ok seems i should then play a bit with jam and link options

> 
> Anyway, how is that functionality implemented and how does it work, 
> basically?
> 

That launch_media_server() functionality ? It is a few BRoster calls : 
IsRunning(), Launch() with the right signature (application/x-vnd.
OpenBeOS-media-server in our case).

the shutdown_media_server() call should be harder to implement (i noted the 
states during the shutdown process).

Jerome

Other related posts: