mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 00:20:47 +01:00
Add libspeex DLL (disabled)
This commit is contained in:
parent
205443e17b
commit
a7cf891147
@ -93,8 +93,8 @@ endif
|
|||||||
VGM_ENABLE_SPEEX = 0
|
VGM_ENABLE_SPEEX = 0
|
||||||
ifeq ($(VGM_ENABLE_SPEEX),1)
|
ifeq ($(VGM_ENABLE_SPEEX),1)
|
||||||
CFLAGS += -DVGM_USE_SPEEX
|
CFLAGS += -DVGM_USE_SPEEX
|
||||||
LDFLAGS += -lspeex
|
LDFLAGS += -L../ext_libs/libspeex -lspeex
|
||||||
TARGET_EXT_LIBS += libspeex.a
|
TARGET_EXT_LIBS += libspeex/libspeex.a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif #if WIN32
|
endif #if WIN32
|
||||||
|
12
ext_includes/speex/speex_config_types.h
Normal file
12
ext_includes/speex/speex_config_types.h
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#ifndef __SPEEX_TYPES_H__
|
||||||
|
#define __SPEEX_TYPES_H__
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
typedef int16_t spx_int16_t;
|
||||||
|
typedef uint16_t spx_uint16_t;
|
||||||
|
typedef int32_t spx_int32_t;
|
||||||
|
typedef uint32_t spx_uint32_t;
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
@ -38,7 +38,7 @@ libcelt-0061.a: libcelt-0061.dll libcelt-0061.def
|
|||||||
libcelt-0110.a: libcelt-0110.dll libcelt-0110.def
|
libcelt-0110.a: libcelt-0110.dll libcelt-0110.def
|
||||||
$(DLLTOOL) -D libcelt-0110.dll -d libcelt-0110.def -l libcelt-0110.a
|
$(DLLTOOL) -D libcelt-0110.dll -d libcelt-0110.def -l libcelt-0110.a
|
||||||
|
|
||||||
libspeex.a: libspeex.dll libspeex.def
|
libspeex/libspeex.a: libspeex/libspeex.dll libspeex/libspeex.def
|
||||||
$(DLLTOOL) -D libspeex.dll -d libspeex.def -l libspeex.a
|
$(DLLTOOL) -D libspeex.dll -d libspeex.def -l libspeex.a
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
35
ext_libs/libspeex/COPYING
Normal file
35
ext_libs/libspeex/COPYING
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
Copyright 2002-2008 Xiph.org Foundation
|
||||||
|
Copyright 2002-2008 Jean-Marc Valin
|
||||||
|
Copyright 2005-2007 Analog Devices Inc.
|
||||||
|
Copyright 2005-2008 Commonwealth Scientific and Industrial Research
|
||||||
|
Organisation (CSIRO)
|
||||||
|
Copyright 1993, 2002, 2006 David Rowe
|
||||||
|
Copyright 2003 EpicGames
|
||||||
|
Copyright 1992-1994 Jutta Degener, Carsten Bormann
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions
|
||||||
|
are met:
|
||||||
|
|
||||||
|
- Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
|
||||||
|
- Redistributions in binary form must reproduce the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer in the
|
||||||
|
documentation and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
- Neither the name of the Xiph.org Foundation nor the names of its
|
||||||
|
contributors may be used to endorse or promote products derived from
|
||||||
|
this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||||
|
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
|
||||||
|
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||||
|
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||||
|
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
BIN
ext_libs/libspeex/libspeex.dll
Normal file
BIN
ext_libs/libspeex/libspeex.dll
Normal file
Binary file not shown.
@ -79,8 +79,8 @@ endif
|
|||||||
VGM_ENABLE_SPEEX = 0
|
VGM_ENABLE_SPEEX = 0
|
||||||
ifeq ($(VGM_ENABLE_SPEEX),1)
|
ifeq ($(VGM_ENABLE_SPEEX),1)
|
||||||
CFLAGS += -DVGM_USE_SPEEX
|
CFLAGS += -DVGM_USE_SPEEX
|
||||||
LDFLAGS += -lspeex
|
LDFLAGS += -L../ext_libs/libspeex -lspeex
|
||||||
TARGET_EXT_LIBS += libspeex.a
|
TARGET_EXT_LIBS += libspeex/libspeex.a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
export CFLAGS LDFLAGS
|
export CFLAGS LDFLAGS
|
||||||
|
@ -79,8 +79,8 @@ endif
|
|||||||
VGM_ENABLE_SPEEX = 0
|
VGM_ENABLE_SPEEX = 0
|
||||||
ifeq ($(VGM_ENABLE_SPEEX),1)
|
ifeq ($(VGM_ENABLE_SPEEX),1)
|
||||||
CFLAGS += -DVGM_USE_SPEEX
|
CFLAGS += -DVGM_USE_SPEEX
|
||||||
LDFLAGS += -lspeex
|
LDFLAGS += -L../ext_libs/libspeex -lspeex
|
||||||
TARGET_EXT_LIBS += libspeex.a
|
TARGET_EXT_LIBS += libspeex/libspeex.a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user