Re: [Nautilus-list] [PATCH] Don't launch esd when not needed



Darin Adler <darin bentspoon com> writes:

> On Friday, July 13, 2001, at 12:37  PM, Anders Carlsson wrote:
> 
> > currently, when the preview signal is emitted from the nautilus icon
> > container, the signal handlericon_container_preview_callback checks if
> > sound is available before checking for the correct sound mime type. The
> > check starts the esound daemon even if the file isn't a music file at
> > all. This patch fixes the problem by checking for the correct mime type
> > before checking if sound is available.
> 
> Looks great. Please commit.

This still involves starting and stopping esound repeatedly when moving
the mouse over a bunch of music files.  Does it make sense to cache the
result?  How often does your ability to run esound change during the
course of a session?

Thanks,
-Jonathan




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