diff options
author | cinap_lenrek <cinap_lenrek@rei2.9hal> | 2012-01-22 23:30:34 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@rei2.9hal> | 2012-01-22 23:30:34 +0100 |
commit | 5524d7607501020ca891436dfbcd88aaf5d15bdf (patch) | |
tree | c82e7714e5f0b4b74ccb716daba88a8c831b04cf /sys/src/cmd/audio/libvorbis/registry.c | |
parent | 29b26a2f175b3fe4329c121eca4c7cbb383f5e28 (diff) |
move mp3 stuff to /sys/src/cmd/audio, add ogg vorbis, add play
Diffstat (limited to 'sys/src/cmd/audio/libvorbis/registry.c')
-rw-r--r-- | sys/src/cmd/audio/libvorbis/registry.c | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/sys/src/cmd/audio/libvorbis/registry.c b/sys/src/cmd/audio/libvorbis/registry.c new file mode 100644 index 000000000..81afe3e0c --- /dev/null +++ b/sys/src/cmd/audio/libvorbis/registry.c @@ -0,0 +1,46 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 * + * by the XIPHOPHORUS Company http://www.xiph.org/ * + * * + ******************************************************************** + + function: registry for time, floor, res backends and channel mappings + last mod: $Id: registry.c,v 1.15 2002/07/11 06:40:50 xiphmont Exp $ + + ********************************************************************/ + +#include "vorbis/codec.h" +#include "codec_internal.h" +#include "registry.h" +#include "misc.h" +/* seems like major overkill now; the backend numbers will grow into + the infrastructure soon enough */ + +extern vorbis_func_floor floor0_exportbundle; +extern vorbis_func_floor floor1_exportbundle; +extern vorbis_func_residue residue0_exportbundle; +extern vorbis_func_residue residue1_exportbundle; +extern vorbis_func_residue residue2_exportbundle; +extern vorbis_func_mapping mapping0_exportbundle; + +vorbis_func_floor *_floor_P[]={ + &floor0_exportbundle, + &floor1_exportbundle, +}; + +vorbis_func_residue *_residue_P[]={ + &residue0_exportbundle, + &residue1_exportbundle, + &residue2_exportbundle, +}; + +vorbis_func_mapping *_mapping_P[]={ + &mapping0_exportbundle, +}; + |