It's all coming back together slowly. Incremental update.
[platform/upstream/libvorbis.git] / lib / registry.c
1 /********************************************************************
2  *                                                                  *
3  * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5  * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
6  * PLEASE READ THESE TERMS DISTRIBUTING.                            *
7  *                                                                  *
8  * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-2000             *
9  * by Monty <monty@xiph.org> and The XIPHOPHORUS Company            *
10  * http://www.xiph.org/                                             *
11  *                                                                  *
12  ********************************************************************
13
14  function: registry for time, floor, res backends and channel mappings
15  last mod: $Id: registry.c,v 1.2 2000/01/22 13:28:29 xiphmont Exp $
16
17  ********************************************************************/
18
19 #include "vorbis/codec.h"
20 #include "registry.h"
21
22 /* seems like major overkill now; the backend numbers will grow into
23    the infrastructure soon enough */
24
25 extern vorbis_func_time      time0_exportbundle;
26 extern vorbis_func_floor     floor0_exportbundle;
27 extern vorbis_func_residue   residue0_exportbundle;
28 extern vorbis_func_mapping   mapping0_exportbundle;
29
30 vorbis_func_time      *_time_P[]={
31   &time0_exportbundle,
32 };
33
34 vorbis_func_floor     *_floor_P[]={
35   &floor0_exportbundle,
36 };
37
38 vorbis_func_residue   *_residue_P[]={
39   &residue0_exportbundle,
40 };
41
42 vorbis_func_mapping   *_mapping_P[]={
43   &mapping0_exportbundle,
44 };
45