summaryrefslogtreecommitdiff
path: root/drivers/vorbis/registry.c
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-10-12 20:37:38 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-10-15 11:50:40 +0200
commitd9a291f6411f2e571c181da0ac89f550ba73f681 (patch)
treea560b8263d9ab896a05087eb20d5eeefdeb89969 /drivers/vorbis/registry.c
parentee3cf211c6fd4d1e30617467cdbbe945798a68b3 (diff)
ogg/vorbis/opus: Make them modules and unbundle thirdparty libs
Took the opportunity to undo the Godot changed made to the opus source. The opus module should eventually be built in its own environment to avoid polluting others with too many include dirs and defines. TODO: Fix the platform/ stuff for opus.
Diffstat (limited to 'drivers/vorbis/registry.c')
-rw-r--r--drivers/vorbis/registry.c45
1 files changed, 0 insertions, 45 deletions
diff --git a/drivers/vorbis/registry.c b/drivers/vorbis/registry.c
deleted file mode 100644
index 3961ed1403..0000000000
--- a/drivers/vorbis/registry.c
+++ /dev/null
@@ -1,45 +0,0 @@
-/********************************************************************
- * *
- * 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-2009 *
- * by the Xiph.Org Foundation http://www.xiph.org/ *
- * *
- ********************************************************************
-
- function: registry for time, floor, res backends and channel mappings
- last mod: $Id: registry.c 16227 2009-07-08 06:58:46Z xiphmont $
-
- ********************************************************************/
-
-#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 const vorbis_func_floor floor0_exportbundle;
-extern const vorbis_func_floor floor1_exportbundle;
-extern const vorbis_func_residue residue0_exportbundle;
-extern const vorbis_func_residue residue1_exportbundle;
-extern const vorbis_func_residue residue2_exportbundle;
-extern const vorbis_func_mapping mapping0_exportbundle;
-
-const vorbis_func_floor *const _floor_P[]={
- &floor0_exportbundle,
- &floor1_exportbundle,
-};
-
-const vorbis_func_residue *const _residue_P[]={
- &residue0_exportbundle,
- &residue1_exportbundle,
- &residue2_exportbundle,
-};
-
-const vorbis_func_mapping *const _mapping_P[]={
- &mapping0_exportbundle,
-};