From: Monty Date: Mon, 10 Apr 2000 00:12:15 +0000 (+0000) Subject: Added first cut of Martin Vogt's kmpg plugin. X-Git-Tag: v1.3.3~1238 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e2b28bd3c40171fef2b1a067910cb81d2fa9dfc6;p=platform%2Fupstream%2Flibvorbis.git Added first cut of Martin Vogt's kmpg plugin. Monty svn path=/trunk/vorbis/; revision=312 --- diff --git a/configure b/configure index cdefa9e..6581a09 100755 --- a/configure +++ b/configure @@ -2117,7 +2117,8 @@ done ac_given_srcdir=$srcdir -trap 'rm -fr `echo "Makefile lib/Makefile examples/Makefile vq/Makefile huff/Makefile cmdline/Makefile xmms/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 +trap 'rm -fr `echo "Makefile lib/Makefile examples/Makefile vq/Makefile \ + huff/Makefile cmdline/Makefile xmms/Makefile kmpg/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then diff --git a/configure.in b/configure.in index 42d7b2c..cf81b8c 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -# $Id: configure.in,v 1.10 2000/02/12 08:32:59 xiphmont Exp $ +# $Id: configure.in,v 1.11 2000/04/10 00:12:14 xiphmont Exp $ AC_INIT(lib/mdct.c) #AC_CONFIG_HEADER(config.h) @@ -180,4 +180,5 @@ AC_SUBST(RANLIB) #AC_SUBST(LIBGTKDIR) AC_SUBST(pthread_lib) -AC_OUTPUT(Makefile lib/Makefile examples/Makefile vq/Makefile huff/Makefile cmdline/Makefile xmms/Makefile) +AC_OUTPUT(Makefile lib/Makefile examples/Makefile vq/Makefile \ + huff/Makefile cmdline/Makefile xmms/Makefile kmpg/Makefile) diff --git a/include/vorbis/codec.h b/include/vorbis/codec.h index 56a00f7..7c03a2a 100644 --- a/include/vorbis/codec.h +++ b/include/vorbis/codec.h @@ -12,13 +12,19 @@ ******************************************************************** function: libvorbis codec headers - last mod: $Id: codec.h,v 1.11 2000/04/03 09:45:55 xiphmont Exp $ + last mod: $Id: codec.h,v 1.12 2000/04/10 00:12:14 xiphmont Exp $ ********************************************************************/ #ifndef _vorbis_codec_h_ #define _vorbis_codec_h_ +#ifdef __cplusplus +extern "C" +{ +#endif /* __cplusplus */ + + #define MAX_BARK 27 #include @@ -387,5 +393,11 @@ extern int vorbis_synthesis_blockin(vorbis_dsp_state *v,vorbis_block *vb); extern int vorbis_synthesis_pcmout(vorbis_dsp_state *v,double ***pcm); extern int vorbis_synthesis_read(vorbis_dsp_state *v,int samples); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + + #endif