Mark Taylor schrieb am Son, 01 Okt 2000:
> >
> > >I think the mp3 encoding library should do what it is
> > >supposed to do, encode pcm samples into mp3 frames.
> >
> > BTW, Robert and everyone, how should we treat with mpglib and lame_mp3_XX
> > routines in frontend/get_audio.c and amiga_mpega.c ?
> >
> > I think these routine should be another library, and the library name
> > should not be lame_XXX
> >
> > any ideas ?
> > ---
> > Takehiro TOMINAGA // may the source be with you!
> > --
>
> We have to at least try and break the old, "frozen" interface
> as little as possible. There are many applications which
> use this interface (to the static library).
>
> There are some issues related to this if the library becomes a popular
> shared library. However, there is only 1 application which uses LAME
> as a shared library, and it uses a built in feature of Linux to check
> the version number before running. So right now the shared library
> issues are moot. It is more important to get the static library
> working than it is to solve all issues related to the shared library.
>
> So I want to have encoding, decoding, id3tags and vbrtags in
> libmp3lame.a, and only one include file, lame.h. Once this is all
> working, then we can start on the new function call interface to LAME.
> When that is done, we can then schedule the old, public struct
> interface for removal, but it should stay around for at least
> a year or so.
>
>
> Mark
So for backward compatibility we should make a wrapper library
with the old interface (as much as possible) and mark this as
old and outdated, to give clients the possibility for smooth
migration to the new API.
old client new clients
| |
v |
wrapper lib |
| |
+--------------------+---------
| | |
v v v
lame-enc-lib lame-dec-lib lame-hdr-lib
lame-enc-lib:
- lame's encoding engine
- maybe with Xing's VBR header stuff if it must be
lame-dec-lib
- lame's wrapper to the mpg123 library
lame-hdr-lib
- wave header
- Xing header
- ID3 stuff
wrapper lib
- the old libmp3lame and interface
Ciao Robert
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )