registry.c 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. function: registry for time, floor, res backends and channel mappings
  14. last mod: $Id: registry.c,v 1.3.12.1 2000/11/04 06:21:45 xiphmont Exp $
  15. ********************************************************************/
  16. #include "vorbis/codec.h"
  17. #include "registry.h"
  18. #include "misc.h"
  19. /* seems like major overkill now; the backend numbers will grow into
  20. the infrastructure soon enough */
  21. extern vorbis_func_time time0_exportbundle;
  22. extern vorbis_func_floor floor0_exportbundle;
  23. extern vorbis_func_residue residue0_exportbundle;
  24. extern vorbis_func_mapping mapping0_exportbundle;
  25. vorbis_func_time *_time_P[]={
  26. &time0_exportbundle,
  27. };
  28. vorbis_func_floor *_floor_P[]={
  29. &floor0_exportbundle,
  30. };
  31. vorbis_func_residue *_residue_P[]={
  32. &residue0_exportbundle,
  33. };
  34. vorbis_func_mapping *_mapping_P[]={
  35. &mapping0_exportbundle,
  36. };