[haiku-development] Re: "media-plugin" naming convention (was Re: Donating codes: APE reader)

  • From: SHINTA <shinta.0806@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 05 Jun 2008 21:50:40 +0900

Hi,

> In my understanding, "*.media_addon"s are dormant nodes only, while our 
> decoder/encoder/reader/writer add-ons are about to handle (decode/
> encode/convert) media streams/files/whatever.
> Suggestions (more are welcome, too):
> 1. have "media_nodes" and "media" directories in add-ons - the drawback 
> is that your BeOS add-ons wouldn't be found anymore.
> 2. keep "media" for nodes, and introduce "media_file", "media_stream", 
> ... under add-ons/ for these (while not every media has to be a file, I 
> would prefer media_file, as it somehow matches the BMediaFile class).
> 3. keep the current structure, but rename "plugins" to something like 
> "file", "stream", ... - again, I would prefer "file" here for the above 
> reason.

 Sorry, but, your English exceeded my poor English handling. Would you
explain placement of files with an example?

[0-A] Current Haiku
add-ons/media/: *.media_addon (dormant) opensound.media_addon is also dormant?
add-ons/media/plugins/: decoders, readers

[0-B] ZETA
add-ons/media/: *.media_addon
add-ons/media/decoders/: decoders
add-ons/media/detractors/: detractors
add-ons/media/encoders/: encoders
add-ons/media/extractors/: extractors
add-ons/media/writers/: writers

[1]
add-ons/media_nodes/: what files are placed here?
add-ons/media/: what files are placed here?

[2]
add-ons/media/: what files are placed here?
add-ons/media_file/: what files are placed here?
add-ons/media_stream/: what files are placed here?

[3]
add-ons/media/: *.media_addon
add-ons/media/{file or stream}/: decoders, readers



 Regards.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   SHINTA
     E-Mail shinta.0806@xxxxxxxxx
     Web    http://www2u.biglobe.ne.jp/~shinta/be/  (Japanese only)


Other related posts: