Merge branch_beta3 onto the mainline.
[platform/upstream/libvorbis.git] / lib / registry.c
1 /********************************************************************
2  *                                                                  *
3  * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5  * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH    *
6  * THIS SOURCE. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.        *
7  *                                                                  *
8  * THE OggVorbis 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.4 2000/11/06 00:07:02 xiphmont Exp $
16
17  ********************************************************************/
18
19 #include "vorbis/codec.h"
20 #include "registry.h"
21 #include "misc.h"
22
23 /* seems like major overkill now; the backend numbers will grow into
24    the infrastructure soon enough */
25
26 extern vorbis_func_time      time0_exportbundle;
27 extern vorbis_func_floor     floor0_exportbundle;
28 extern vorbis_func_residue   residue0_exportbundle;
29 extern vorbis_func_mapping   mapping0_exportbundle;
30
31 vorbis_func_time      *_time_P[]={
32   &time0_exportbundle,
33 };
34
35 vorbis_func_floor     *_floor_P[]={
36   &floor0_exportbundle,
37 };
38
39 vorbis_func_residue   *_residue_P[]={
40   &residue0_exportbundle,
41 };
42
43 vorbis_func_mapping   *_mapping_P[]={
44   &mapping0_exportbundle,
45 };
46