Re: Cd Burning



On Mon, 2002-09-16 at 10:08, Bastien Nocera wrote:
> On Mon, 2002-09-16 at 14:31, Sean Middleditch wrote:
> > 
> > Well, for one, CD burning would be better off in a separate process than
> > the main app, just for the sake of retaining interactivity without the
> > chance of buffer-underrun.  And, while threads can manage that, a bonobo
> > interface would be more capable of queuing burning requests, no? 
> > Something like if I tell Rythmbox to burn a Rock CD and an Anime
> > Soundtrack CD, it would make both requests, those would get queued by an
> > interface activated thru bonobo, which would burn, handle notification,
> > etc. etc.
> 
> Riight. You can write a bonobo component with a library, you can't
> (decently) write a library from a bonobo component. After you've written
> the library, how much glue you fancy is up to you.

This depends.  Writing a library designed for a simple burning interface
in an application isn't going to get one very far given the above goals,
at all.  If you just want a library, use libcdrecord.  Designing the
code form the ground up to serve/queue multiple requests, in an
out-of-process fashion from the application, saves time, versus writing
it once as a library than again as a service, especially given how 90%
of the code is going to be the glue itself - why write a library to
handle CD burning, then a service to interface to this library, which
increases code size and dependencies, versus just writing the service
and be done with it?

> 
> > Granted, I'm not in any way familiar with the intricacies of this stuff,
> > so maybe I'm just babbling out my arse again... ~,^
> 
> OK. Wish death upon us next time, that will be safer. Bonobo is a nice
> technology, but if you're not the one writing the code, it's not up to
> you in any way.

Woah.  Sorry, I forgot that the GNOME lists are closed to suggestions,
comments, ideas, and discussion, and that only experience core GNOME
hackers are allowed to be subscribed.  I know this message has been a
considerable inconvenience to you, and I'm sorry for wasting your
precious, unreplacable time and the massive amount of bandwidth/storage
this e-mail has consumed.

> 
> For all I know, I wouldn't be writing a bonobo component for that, I'd
> prefer a library interface, but that's just me.
> 
> Cheers
> 
> -- 
> /Bastien Nocera
> http://hadess.net
> 






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]