Re: [Nautilus-list] Audio preview
- From: Matthew Walton <mxw00u Cs Nott AC UK>
- To: "Gene Z. Ragan" <gzr eazel com>
- Cc: nautilus-list eazel com
- Subject: Re: [Nautilus-list] Audio preview
- Date: Sat, 24 Mar 2001 01:01:04 +0000
Sounds like a good idea to me. It would be nice to be able to add support for new formats without needing to modify and recompile Nautilus - ideally, this would involve at most recompiling the audio library with support for the new format, plus maybe adding a new MIME type or something to tell Nautilus it can be previewed. Not that I actually use audio previewing at all...
"Gene Z. Ragan" wrote:
> Comrades,
>
> I have spent the last couple of days reworking the way that we handle audio previewing.
>
> I have done this for a few reasons. The first is that we are getting several bugs about run away processes causing audio preview to continue even after icon prelight has ended. Another issue is the possible absence of SOX, play and mpg123 libraries and executables. We currently hard code the name of play and mpg123 into the siurce code. The final issue is the lack of extensibility in our current design. We are not well equipped to handle new audio file formats.
>
> In order to address all of these issues, I have created a threaded audio playback mechanism. This would require nautilus to use the audiofile library in gnome cvs. This library is based on the SGI audio file library and is pretty decent. In the absence of a real media architecture in gnome, this library is a good stand in. The code itself could easily be modified to use a different audio library and sound output should the need arise.
>
> A short term drawback is that we would lose previewing of mp3 files. This would be easy to fix. I could quickly submit a module to the audiofile library to handle the parsing of mp3 files. This small drawback is pretty minor in terms of the gains we would get form using a library as opposed to hardcoded application names.
>
> Does anyone have any feedback or suggestions?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]