1 File: Plugin mad for vlc is based upon libmad from the mad distribution.
2 Author: Jean-Paul Saman <jpsaman@wxs.nl>
6 vlc/plugins/mad : mad audio decoder plugin for vlc
8 Interface functions to implement in mad plugin are:
23 It represents the function call flow viewed from the vlc main program. The main program is in charge of allocating decoders,
24 initializing, starting and stopping them.
38 ________________________
39 | <decoder interface> |
40 | vlc plugin interface |
41 ________________________
47 ----------------------
48 vlc decoder interface -> | mad_adec mad_libmad | -> libmad
49 -----------------------
52 Keeping libmad as a separate library on the system, either dynamic or statically linked in, makes maintenance so much simpeler.
53 Merging with a new libmad version should be straight forward as long as the interface stays stable.
54 There is another benefit: Disk (actually flash ROM) resources and memory are very limited on a iPaq.
55 Other programs or utilities like madplay and BBplay can make use of the same libmad version we do. In this way
56 limiting the needed storage place on disk (flash ROM). Also this is only possible when the interface stays the same.