bugfixes with VST-SDK-stuff
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@72 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
19
configure.in
19
configure.in
@@ -160,9 +160,18 @@ AM_CONDITIONAL(HAVE_LIBJACK, test ! -z "$HAVE_JACK_JACK_H")
|
||||
AC_ARG_WITH(vst,
|
||||
AS_HELP_STRING([--with-vst],
|
||||
[enable support for builtin VST-plugin-hosting]), [ with_vst=yes ], [ with_vst=no ])
|
||||
AH_TEMPLATE(HAVE_VST_AEFFECTX_H, [Define to 1 if you have the <vst/aeffectx.h> header file.])
|
||||
AH_TEMPLATE(HAVE_VST_AEFFECTX_H, [Define to 1 if you have the <aeffectx.h> header file.])
|
||||
if test "x$with_vst" = "xyes" ; then
|
||||
AC_CHECK_HEADER(vst/aeffectx.h, HAVE_VST_AEFFECTX_H="true")
|
||||
AC_CHECK_HEADER(aeffectx.h, HAVE_VST_AEFFECTX_H="true")
|
||||
if test -z "$HAVE_VST_AEFFECTX_H" ; then
|
||||
ORIG_CFLAGS=$CFLAGS
|
||||
ORIG_CPPFLAGS=$CPPFLAGS
|
||||
CFLAGS="$CLFAGS -I./include"
|
||||
CPPFLAGS="$CPPFLAGS -I./include"
|
||||
AC_CHECK_HEADER(aeffectx.h, HAVE_VST_AEFFECTX_H="true")
|
||||
CFLAGS="$ORIG_CFLAGS"
|
||||
CPPFLAGS="$ORIG_CPPFLAGS"
|
||||
fi
|
||||
AC_CHECK_PROG(WINEGCC, winegcc, /usr/bin/winegcc,,/usr/bin)
|
||||
AC_CHECK_LIB([wine], [wine_init])
|
||||
if test ! -z "$WINEGCC" ; then
|
||||
@@ -634,14 +643,14 @@ else
|
||||
echo " ="
|
||||
echo " = You seem to have a proper WINE-installation, but the header-files"
|
||||
echo " = (AEffect.h and aeffectx.h) from Steinberg-VST-SDK are missing or not present"
|
||||
echo " = in /usr/include/vst. We cannot distribute them as they're licensed under"
|
||||
echo " = in /usr/include/ or ./include. We cannot distribute them as they're licensed under"
|
||||
echo " = a GPL-incompatible license, so you'll have to download them at"
|
||||
echo " ="
|
||||
echo " = http://www.steinberg.de/Steinberg/ygrabit/vstsdk/OnlineDoc/source/common/AEffect.h"
|
||||
echo " = http://www.steinberg.de/Steinberg/ygrabit/vstsdk/OnlineDoc/source/common/aeffectx.h"
|
||||
echo " ="
|
||||
echo " = and put the mentioned files into /usr/include/vst. Make sure, they're"
|
||||
echo " = patched with file aeffectx_h_fix.patch!"
|
||||
echo " = and put the mentioned files into /usr/include/ or ./include. Make sure, they're"
|
||||
echo " = patched with file vst_sdk23_headers.diff!"
|
||||
echo " = Otherwise (now!) configure will disable LMMS's support for built-in VST-"
|
||||
echo " = plugin-usage. If you do not intend to use VST-plugins with LMMS you can "
|
||||
echo " = ignore this warning."
|
||||
|
||||
@@ -177,7 +177,7 @@ void * bufferAllocator::allocBytes( Uint32 _bytes )
|
||||
// processes like pattern-freezing because this way we do not have to
|
||||
// search for a free buffer in an array, containing several
|
||||
// 10.000 buffers
|
||||
if( s_freeBufs > s_buffers.size() / 10 )
|
||||
if( (csize) s_freeBufs > s_buffers.size() / 10 )
|
||||
{
|
||||
bufIt free_buf = s_buffers.end();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user