4 |
# LinuxSampler's / liblinuxsampler's "official" release version: |
# LinuxSampler's / liblinuxsampler's "official" release version: |
5 |
|
|
6 |
LINUXSAMPLER_RELEASE_MAJOR=0 |
LINUXSAMPLER_RELEASE_MAJOR=0 |
7 |
LINUXSAMPLER_RELEASE_MINOR=4 |
LINUXSAMPLER_RELEASE_MINOR=5 |
8 |
LINUXSAMPLER_RELEASE_BUILD=0.6cvs |
LINUXSAMPLER_RELEASE_BUILD=1 |
9 |
|
|
10 |
#------------------------------------------------------------------------------------ |
#------------------------------------------------------------------------------------ |
11 |
# The following is the libtool / shared library version. This doesn't have to |
# The following is the libtool / shared library version. This doesn't have to |
24 |
# 6. If any interfaces have been removed since the last public release, then set age |
# 6. If any interfaces have been removed since the last public release, then set age |
25 |
# to 0. |
# to 0. |
26 |
|
|
27 |
LIBLINUXSAMPLER_LT_CURRENT=0 |
LIBLINUXSAMPLER_LT_CURRENT=2 |
28 |
LIBLINUXSAMPLER_LT_REVISION=0 |
LIBLINUXSAMPLER_LT_REVISION=0 |
29 |
LIBLINUXSAMPLER_LT_AGE=0 |
LIBLINUXSAMPLER_LT_AGE=1 |
30 |
SHARED_VERSION_INFO="$LIBLINUXSAMPLER_LT_CURRENT:$LIBLINUXSAMPLER_LT_REVISION:$LIBLINUXSAMPLER_LT_AGE" |
SHARED_VERSION_INFO="$LIBLINUXSAMPLER_LT_CURRENT:$LIBLINUXSAMPLER_LT_REVISION:$LIBLINUXSAMPLER_LT_AGE" |
31 |
|
|
32 |
#------------------------------------------------------------------------------------ |
#------------------------------------------------------------------------------------ |
33 |
# the LSCP specification version this LinuSampler release complies with: |
# the LSCP specification version this LinuSampler release complies with: |
34 |
|
|
35 |
LSCP_RELEASE_MAJOR=1 |
LSCP_RELEASE_MAJOR=1 |
36 |
LSCP_RELEASE_MINOR=2 |
LSCP_RELEASE_MINOR=3 |
37 |
|
|
38 |
AC_DEFINE_UNQUOTED(LSCP_RELEASE_MAJOR, ${LSCP_RELEASE_MAJOR}, [LSCP spec major version this release complies with.]) |
AC_DEFINE_UNQUOTED(LSCP_RELEASE_MAJOR, ${LSCP_RELEASE_MAJOR}, [LSCP spec major version this release complies with.]) |
39 |
AC_DEFINE_UNQUOTED(LSCP_RELEASE_MINOR, ${LSCP_RELEASE_MINOR}, [LSCP spec minor version this release complies with.]) |
AC_DEFINE_UNQUOTED(LSCP_RELEASE_MINOR, ${LSCP_RELEASE_MINOR}, [LSCP spec minor version this release complies with.]) |
52 |
AC_SUBST(target_os) |
AC_SUBST(target_os) |
53 |
AC_SUBST(target_vendor) |
AC_SUBST(target_vendor) |
54 |
|
|
55 |
|
PKG_PROG_PKG_CONFIG |
56 |
|
|
57 |
########################################################################### |
########################################################################### |
58 |
# General Checks |
# General Checks |
80 |
fi |
fi |
81 |
AC_SUBST([CXX_CPU_SWITCH]) |
AC_SUBST([CXX_CPU_SWITCH]) |
82 |
|
|
83 |
|
# check if we're on MS Windows |
84 |
|
AC_CHECK_HEADERS( |
85 |
|
mmsystem.h, |
86 |
|
have_windows=1, |
87 |
|
have_windows=0 |
88 |
|
) |
89 |
|
AM_CONDITIONAL(HAVE_WINDOWS, test $have_windows = "1") |
90 |
|
|
91 |
AC_MSG_CHECKING([whether UNIX98 compatible]) |
AC_MSG_CHECKING([whether UNIX98 compatible]) |
92 |
AC_LANG_SAVE |
AC_LANG_SAVE |
93 |
AC_LANG_C |
AC_LANG_C |
110 |
) |
) |
111 |
AC_LANG_RESTORE |
AC_LANG_RESTORE |
112 |
AC_MSG_RESULT([$have_unix98]) |
AC_MSG_RESULT([$have_unix98]) |
113 |
if test "$have_unix98" = "no"; then |
if test "$have_unix98" = "no" -a "have_windows" = "0"; then |
114 |
if test "x$HAVE_UNIX98" = "x"; then |
if test "x$HAVE_UNIX98" = "x"; then |
115 |
echo "LinuxSampler only runs on UNIX98 compatible systems, which is mandatory for" |
echo "LinuxSampler only runs on UNIX98 compatible systems, which is mandatory for" |
116 |
echo "pthread_mutexattr_settype() call in Mutex.cpp. You may want to run |
echo "pthread_mutexattr_settype() call in Mutex.cpp. You may want to run |
123 |
# check for <features.h> |
# check for <features.h> |
124 |
AC_CHECK_HEADERS(features.h) |
AC_CHECK_HEADERS(features.h) |
125 |
|
|
126 |
|
# test for POSIX thread library |
127 |
|
m4_ifdef([m4_include(m4/pthread.m4)],, |
128 |
|
[sinclude([m4/pthread.m4])]) |
129 |
|
ACX_PTHREAD |
130 |
|
LIBS="$PTHREAD_LIBS $LIBS" |
131 |
|
CFLAGS="$CFLAGS $PTHREAD_CFLAGS" |
132 |
|
CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS" |
133 |
|
CC="$PTHREAD_CC" |
134 |
|
|
135 |
|
# check for a bug in NPTL-enabled glibc |
136 |
|
# (see Gentoo bug report #194076) |
137 |
|
AC_ARG_ENABLE(nptl-bug-check, |
138 |
|
[ --disable-nptl-bug-check |
139 |
|
Disable check for a bug in certain NPTL-enabled |
140 |
|
glibc versions that caused crashs.], |
141 |
|
[config_check_nptl_bug="$enableval"], |
142 |
|
[config_check_nptl_bug="yes"] |
143 |
|
) |
144 |
|
if test "$config_check_nptl_bug" = "yes"; then |
145 |
|
m4_ifdef([m4_include(m4/nptl_bug.m4)],, |
146 |
|
[sinclude([m4/nptl_bug.m4])]) |
147 |
|
ACX_NPTL_GLIBC_BUG([ |
148 |
|
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" |
149 |
|
echo "You seem to have a buggy PTHREAD library! LinuxSampler would" |
150 |
|
echo "probably crash due to this. Please report us the system you are" |
151 |
|
echo "using and/or file a bug report to the bug tracking system of" |
152 |
|
echo "your distribution." |
153 |
|
echo "If you have a NPTL-enabled glibc AND it was compiled for TLS as" |
154 |
|
echo "well, you can try to circumvent this problem for now by setting" |
155 |
|
echo "the environment variable LD_ASSUME_KERNEL=\"2.4.1\" , which" |
156 |
|
echo "should cause this test to pass." |
157 |
|
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" |
158 |
|
AC_MSG_ERROR([possibly NPTL glibc bug detected]) |
159 |
|
]) |
160 |
|
else |
161 |
|
echo "NPTL glibc bug check disabled" |
162 |
|
fi |
163 |
|
|
164 |
|
|
165 |
|
|
166 |
########################################################################### |
########################################################################### |
167 |
# Checks for available audio and MIDI systems / drivers |
# Checks for available audio and MIDI systems / drivers |
175 |
[ --disable-alsa-driver |
[ --disable-alsa-driver |
176 |
Disable support for the Advanced Linux Sound |
Disable support for the Advanced Linux Sound |
177 |
Architecture (ALSA).], |
Architecture (ALSA).], |
178 |
[config_alsa_driver="no"], |
[config_alsa_driver="$enableval"], |
179 |
[config_alsa_driver="yes"] |
[config_alsa_driver="yes"] |
180 |
) |
) |
181 |
have_alsa=0 |
have_alsa=0 |
255 |
[ --disable-jack-driver |
[ --disable-jack-driver |
256 |
Disable support for the Jack Audio Connection Kit |
Disable support for the Jack Audio Connection Kit |
257 |
(JACK).], |
(JACK).], |
258 |
[config_jack_driver="no"], |
[config_jack_driver="$enableval"], |
259 |
[config_jack_driver="yes"] |
[config_jack_driver="yes"] |
260 |
) |
) |
261 |
have_jack=0 |
have_jack=0 |
278 |
[ --disable-arts-driver |
[ --disable-arts-driver |
279 |
Disable support for the Analogue Realtime System |
Disable support for the Analogue Realtime System |
280 |
(aRts).], |
(aRts).], |
281 |
[config_arts_driver="no"], |
[config_arts_driver="$enableval"], |
282 |
[config_arts_driver="yes"] |
[config_arts_driver="yes"] |
283 |
) |
) |
284 |
have_arts=0 |
have_arts=0 |
295 |
AM_CONDITIONAL(HAVE_ARTS, test "$have_arts" = "1") |
AM_CONDITIONAL(HAVE_ARTS, test "$have_arts" = "1") |
296 |
AC_DEFINE_UNQUOTED(HAVE_ARTS,$have_arts,[Define to 1 if you have aRts installed.]) |
AC_DEFINE_UNQUOTED(HAVE_ARTS,$have_arts,[Define to 1 if you have aRts installed.]) |
297 |
|
|
298 |
|
# ASIO AUDIO (Win32) |
299 |
|
AC_ARG_ENABLE(asiosdk-dir, |
300 |
|
[ --enable-asiosdk-dir |
301 |
|
Directory where the ASIO SDK is located, this automatically |
302 |
|
enables the compilation of the ASIO audio output driver.], |
303 |
|
[config_asiosdk_dir="${enableval}"], |
304 |
|
[config_asiosdk_dir="."] |
305 |
|
) |
306 |
|
AC_SUBST(config_asiosdk_dir) |
307 |
|
|
308 |
|
AC_ARG_ENABLE(asio-driver, |
309 |
|
[ --disable-asio-driver |
310 |
|
Disable support for the Windows ASIO driver.], |
311 |
|
[config_asio_driver="$enableval"], |
312 |
|
[config_asio_driver="yes"] |
313 |
|
) |
314 |
|
have_asio=0 |
315 |
|
ASIOSDK_BASEDIR= |
316 |
|
if test "$config_asio_driver" = "yes"; then |
317 |
|
asiosdk_headerfile=$config_asiosdk_dir/ASIOSDK2/common/asio.h |
318 |
|
echo -n "checking for ASIO headerfile: $asiosdk_headerfile ...." |
319 |
|
if test -e $asiosdk_headerfile ; then |
320 |
|
echo yes |
321 |
|
have_asio=1 |
322 |
|
ASIOSDK_BASEDIR="$config_asiosdk_dir" |
323 |
|
else |
324 |
|
echo no |
325 |
|
have_asio=0 |
326 |
|
fi |
327 |
|
if test "$have_asio" = "1"; then |
328 |
|
have_audio_output_driver="true" |
329 |
|
fi |
330 |
|
else |
331 |
|
echo "Windows ASIO support disabled by configure script parameter" |
332 |
|
fi |
333 |
|
AC_SUBST(ASIOSDK_BASEDIR) |
334 |
|
AM_CONDITIONAL(HAVE_ASIO, test $have_asio = "1") |
335 |
|
AC_DEFINE_UNQUOTED(HAVE_ASIO,$have_asio,[Define to 1 if you have ASIO installed.]) |
336 |
|
|
337 |
# MidiShare (Linux, OS X, Windows) |
# MidiShare (Linux, OS X, Windows) |
338 |
AC_ARG_ENABLE(midishare-driver, |
AC_ARG_ENABLE(midishare-driver, |
339 |
[ --disable-midishare-driver |
[ --disable-midishare-driver |
340 |
Disable support for the MidiShare system.], |
Disable support for the MidiShare system.], |
341 |
[config_midishare_driver="no"], |
[config_midishare_driver="$enableval"], |
342 |
[config_midishare_driver="yes"] |
[config_midishare_driver="yes"] |
343 |
) |
) |
344 |
have_midishare=0 |
have_midishare=0 |
364 |
AC_ARG_ENABLE(coremidi-driver, |
AC_ARG_ENABLE(coremidi-driver, |
365 |
[ --disable-coremidi-driver |
[ --disable-coremidi-driver |
366 |
Disable support for the Apple CoreMIDI system.], |
Disable support for the Apple CoreMIDI system.], |
367 |
[config_coremidi_driver="no"], |
[config_coremidi_driver="$enableval"], |
368 |
[config_coremidi_driver="yes"] |
[config_coremidi_driver="yes"] |
369 |
) |
) |
370 |
have_coremidi=0 |
have_coremidi=0 |
382 |
AM_CONDITIONAL(HAVE_COREMIDI, test $have_coremidi = "1") |
AM_CONDITIONAL(HAVE_COREMIDI, test $have_coremidi = "1") |
383 |
AC_DEFINE_UNQUOTED(HAVE_COREMIDI,$have_coremidi,[Define to 1 if you have CoreMIDI installed.]) |
AC_DEFINE_UNQUOTED(HAVE_COREMIDI,$have_coremidi,[Define to 1 if you have CoreMIDI installed.]) |
384 |
|
|
385 |
|
# MME MIDI (Win32) |
386 |
|
AC_ARG_ENABLE(mmemidi-driver, |
387 |
|
[ --disable-mmemidi-driver |
388 |
|
Disable support for the Windows MME MIDI system.], |
389 |
|
[config_mmemidi_driver="$enableval"], |
390 |
|
[config_mmemidi_driver="yes"] |
391 |
|
) |
392 |
|
have_mmemidi=0 |
393 |
|
if test "$config_mmemidi_driver" = "yes"; then |
394 |
|
AC_CHECK_HEADERS(mmsystem.h, |
395 |
|
have_mmemidi=1, |
396 |
|
have_mmemidi=0 |
397 |
|
) |
398 |
|
if test "$have_mmemidi" = "1"; then |
399 |
|
have_midi_input_driver="true" |
400 |
|
fi |
401 |
|
else |
402 |
|
echo "MME MIDI support disabled by configure script parameter" |
403 |
|
fi |
404 |
|
AM_CONDITIONAL(HAVE_MME_MIDI, test $have_mmemidi = "1") |
405 |
|
AC_DEFINE_UNQUOTED(HAVE_MME_MIDI,$have_mmemidi,[Define to 1 if you have MME MIDI installed.]) |
406 |
|
|
407 |
|
# have we found at least one MIDI input and one audio output driver ? |
408 |
|
if test "$have_midi_input_driver" = "false"; then |
409 |
|
echo "No supported MIDI input system found!" |
410 |
|
echo "Sorry, LinuxSampler only supports the following MIDI drivers at the moment:" |
411 |
|
echo "ALSA, MIDIShare, CoreMIDI." |
412 |
|
echo "If you think you have one of those available on your system, make sure you" |
413 |
|
echo "also have the respective development (header) files installed." |
414 |
|
exit -1; |
415 |
|
fi |
416 |
|
if test "$have_audio_output_driver" = "false"; then |
417 |
|
echo "No supported audio output system found!" |
418 |
|
echo "Sorry, LinuxSampler only supports ALSA, JACK and ARTS as audio output" |
419 |
|
echo "driver at the moment!" |
420 |
|
exit -1; |
421 |
|
fi |
422 |
|
|
423 |
|
|
424 |
|
|
425 |
|
########################################################################### |
426 |
|
# Checks for various DLL libraries |
427 |
|
|
428 |
# Check presence of libgig |
# Check presence of libgig |
429 |
libgig_version="3.1.1" |
libgig_version="3.2.1" |
430 |
PKG_CHECK_MODULES(GIG, gig >= $libgig_version, HAVE_GIG=true, HAVE_GIG=false) |
PKG_CHECK_MODULES(GIG, gig >= $libgig_version, HAVE_GIG=true, HAVE_GIG=false) |
431 |
if test "$HAVE_GIG" = "false"; then |
if test "$HAVE_GIG" = "false"; then |
432 |
echo "Required libgig version not found!" |
echo "Required libgig version not found!" |
438 |
AC_SUBST(GIG_CFLAGS) |
AC_SUBST(GIG_CFLAGS) |
439 |
AC_SUBST(GIG_LIBS) |
AC_SUBST(GIG_LIBS) |
440 |
|
|
441 |
# Check presence of sqlite3 |
# Instruments DB feature (requires SQLite 3.3) |
442 |
sqlite_version="3.3" |
AC_ARG_ENABLE(instruments-db, |
443 |
PKG_CHECK_MODULES(SQLITE3, sqlite3 >= $sqlite_version, HAVE_SQLITE3=true, HAVE_SQLITE3=false) |
[ --disable-instruments-db |
444 |
AC_SUBST(SQLITE3_LIBS) |
Disable compilation of the sampler's instruments |
445 |
AC_SUBST(SQLITE3_CFLAGS) |
database feature. You need to have SQLite 3.3 |
446 |
if test $HAVE_SQLITE3 = false; then |
or younger installed for this feature.], |
447 |
HAVE_SQLITE3=0; |
[config_instruments_db="$enableval"], |
448 |
instruments_db_support="no" |
[config_instruments_db="yes"] |
449 |
echo "*** Required sqlite version not found!" |
) |
450 |
echo "*** You need to have sqlite version ${sqlite_version} or higher" |
HAVE_SQLITE3=0; |
451 |
echo "*** for instruments database support to be enabled." |
if test "$config_instruments_db" = "yes"; then |
452 |
echo "*** Support for instruments DB will be disabled!" |
# Check presence of sqlite3 |
453 |
|
sqlite_version="3.3" |
454 |
|
PKG_CHECK_MODULES(SQLITE3, sqlite3 >= $sqlite_version, HAVE_SQLITE3=true, HAVE_SQLITE3=false) |
455 |
|
AC_SUBST(SQLITE3_LIBS) |
456 |
|
AC_SUBST(SQLITE3_CFLAGS) |
457 |
|
if test $HAVE_SQLITE3 = false; then |
458 |
|
HAVE_SQLITE3=0 |
459 |
|
config_instruments_db="no" |
460 |
|
echo "*** Required sqlite version not found!" |
461 |
|
echo "*** You need to have sqlite version ${sqlite_version} or higher" |
462 |
|
echo "*** for instruments database support to be enabled." |
463 |
|
echo "*** Support for instruments DB will be disabled!" |
464 |
|
else |
465 |
|
HAVE_SQLITE3=1 |
466 |
|
fi |
467 |
else |
else |
468 |
HAVE_SQLITE3=1 |
echo "Instruments DB feature disabled by configure script parameter" |
|
instruments_db_support="yes" |
|
469 |
fi |
fi |
470 |
AM_CONDITIONAL(HAVE_SQLITE3, test $HAVE_SQLITE3 = 1) |
AM_CONDITIONAL(HAVE_SQLITE3, test $HAVE_SQLITE3 = 1) |
471 |
AC_DEFINE_UNQUOTED(HAVE_SQLITE3,$HAVE_SQLITE3,[Define to 1 if you have SQLITE3 installed.]) |
AC_DEFINE_UNQUOTED(HAVE_SQLITE3,$HAVE_SQLITE3,[Define to 1 if you want the instruments DB feature and have SQLITE3 installed.]) |
472 |
|
|
|
if test "$have_midi_input_driver" = "false"; then |
|
|
echo "No supported MIDI input system found!" |
|
|
echo "Sorry, LinuxSampler only supports the following MIDI drivers at the moment:" |
|
|
echo "ALSA, MIDIShare, CoreMIDI." |
|
|
echo "If you think you have one of those available on your system, make sure you" |
|
|
echo "also have the respective development (header) files installed." |
|
|
exit -1; |
|
|
fi |
|
|
if test "$have_audio_output_driver" = "false"; then |
|
|
echo "No supported audio output system found!" |
|
|
echo "Sorry, LinuxSampler only supports ALSA and JACK as audio output driver at the moment!" |
|
|
exit -1; |
|
|
fi |
|
473 |
|
|
474 |
|
|
475 |
########################################################################### |
########################################################################### |
485 |
to just enter a fast (denormal) FPU mode on x86 |
to just enter a fast (denormal) FPU mode on x86 |
486 |
platforms. There are currently no synthesis core |
platforms. There are currently no synthesis core |
487 |
assembly optimizations anymore since LS 0.4.0], |
assembly optimizations anymore since LS 0.4.0], |
488 |
[config_asm="no"], |
[config_asm="$enableval"], |
489 |
[config_asm="yes"] |
[config_asm="yes"] |
490 |
) |
) |
491 |
if test "$config_asm" = "yes"; then |
if test "$config_asm" = "yes"; then |
493 |
fi |
fi |
494 |
|
|
495 |
AC_ARG_ENABLE(dev-mode, |
AC_ARG_ENABLE(dev-mode, |
496 |
[ --disable-dev-mode |
[ --enable-dev-mode |
497 |
Disable development mode (default=on). In that mode |
Enable development mode (default=off). In that mode |
498 |
we do some extra sanity checks here and there. |
we do some extra sanity checks here and there. |
499 |
This helps to spot possible problems, but reduces |
This helps to spot possible problems, but reduces |
500 |
efficiency a bit], |
efficiency a bit], |
501 |
[config_dev_mode="no"], |
[config_dev_mode="$enableval"], |
502 |
[config_dev_mode="yes"] |
[config_dev_mode="no"] |
503 |
) |
) |
504 |
if test "$config_dev_mode" = "yes"; then |
if test "$config_dev_mode" = "yes"; then |
505 |
AC_DEFINE_UNQUOTED(CONFIG_DEVMODE, 1, [Define to 1 if you want to enable development mode.]) |
AC_DEFINE_UNQUOTED(CONFIG_DEVMODE, 1, [Define to 1 if you want to enable development mode.]) |
526 |
context as well. Otherwise if disabled |
context as well. Otherwise if disabled |
527 |
segmentation faults will be forced by the |
segmentation faults will be forced by the |
528 |
application on critical errors.], |
application on critical errors.], |
529 |
[config_rt_exceptions="yes"], |
[config_rt_exceptions="$enableval"], |
530 |
[config_rt_exceptions="no"] |
[config_rt_exceptions="no"] |
531 |
) |
) |
532 |
if test "$config_rt_exceptions" = "yes"; then |
if test "$config_rt_exceptions" = "yes"; then |
720 |
If enabled will force filter to be used even if |
If enabled will force filter to be used even if |
721 |
no usage was define in instrument patch files. |
no usage was define in instrument patch files. |
722 |
(default=no).], |
(default=no).], |
723 |
[config_force_filter="yes"], |
[config_force_filter="$enableval"], |
724 |
[config_force_filter="no"] |
[config_force_filter="no"] |
725 |
) |
) |
726 |
if test "$config_force_filter" = "yes"; then |
if test "$config_force_filter" = "yes"; then |
810 |
messages which do not provide a correct checksum |
messages which do not provide a correct checksum |
811 |
will be ignored. This is disabled by default as |
will be ignored. This is disabled by default as |
812 |
not all devices honor GS checksums.], |
not all devices honor GS checksums.], |
813 |
[config_assert_gs_sysex_checksum="yes"], |
[config_assert_gs_sysex_checksum="$enableval"], |
814 |
[config_assert_gs_sysex_checksum="no"] |
[config_assert_gs_sysex_checksum="no"] |
815 |
) |
) |
816 |
if test "config_assert_gs_sysex_checksum" = "yes"; then |
if test "config_assert_gs_sysex_checksum" = "yes"; then |
856 |
Similar to intmath but uses abs() function. |
Similar to intmath but uses abs() function. |
857 |
Depending on compiler and platrofm this could |
Depending on compiler and platrofm this could |
858 |
perform better than integer math as it avoids |
perform better than integer math as it avoids |
859 |
an extra integer multiply instruction. |
an extra integer multiply instruction. |
|
|
|
860 |
diharmonic: |
diharmonic: |
861 |
The triangular wave will be approximated by adding two |
The triangular wave will be approximated by adding two |
862 |
sinusoidials. This solution might especially hurt on |
sinusoidials. This solution might especially hurt on |
890 |
Similar to intmath but uses abs() function. |
Similar to intmath but uses abs() function. |
891 |
Depending on compiler and platrofm this could |
Depending on compiler and platrofm this could |
892 |
perform better than integer math as it avoids |
perform better than integer math as it avoids |
893 |
an extra integer multiply instruction. |
an extra integer multiply instruction. |
|
|
|
894 |
diharmonic: |
diharmonic: |
895 |
The triangular wave will be approximated by adding two |
The triangular wave will be approximated by adding two |
896 |
sinusoidials. This solution might especially hurt on |
sinusoidials. This solution might especially hurt on |
921 |
will not discard notes, triggered in mute mode, |
will not discard notes, triggered in mute mode, |
922 |
when the channel is unmuted. But also will reduce |
when the channel is unmuted. But also will reduce |
923 |
the efficiency.], |
the efficiency.], |
924 |
[config_process_muted_channels="yes"], |
[config_process_muted_channels="$enableval"], |
925 |
[config_process_muted_channels="no"] |
[config_process_muted_channels="no"] |
926 |
) |
) |
927 |
if test "$config_process_muted_channels" = "yes"; then |
if test "$config_process_muted_channels" = "yes"; then |
935 |
all voices whenever it receives an All-Notes-Off |
all voices whenever it receives an All-Notes-Off |
936 |
MIDI message. You can disable this behavior, so |
MIDI message. You can disable this behavior, so |
937 |
that LS simply ignores such messages.], |
that LS simply ignores such messages.], |
938 |
[config_process_all_notes_off="no"], |
[config_process_all_notes_off="$enableval"], |
939 |
[config_process_all_notes_off="yes"] |
[config_process_all_notes_off="yes"] |
940 |
) |
) |
941 |
if test "$config_process_all_notes_off" = "yes"; then |
if test "$config_process_all_notes_off" = "yes"; then |
949 |
generated by for example the envelope generator |
generated by for example the envelope generator |
950 |
will be smoother, minimizing the risk for audio |
will be smoother, minimizing the risk for audio |
951 |
clicks. Disable it to reduce CPU usage.], |
clicks. Disable it to reduce CPU usage.], |
952 |
[config_interpolate_volume="no"], |
[config_interpolate_volume="$enableval"], |
953 |
[config_interpolate_volume="yes"] |
[config_interpolate_volume="yes"] |
954 |
) |
) |
955 |
if test "$config_interpolate_volume" = "yes"; then |
if test "$config_interpolate_volume" = "yes"; then |
969 |
) |
) |
970 |
AC_SUBST(config_plugin_dir) |
AC_SUBST(config_plugin_dir) |
971 |
|
|
972 |
|
AC_ARG_ENABLE(default-instruments-db-location, |
973 |
|
[ --enable-default-instruments-db-location |
974 |
|
Only when instruments DB feature is enabled: file name |
975 |
|
which shall be taken as default location of the |
976 |
|
instruments DB file. This location can still be |
977 |
|
overridden at runtime with a command line switch. |
978 |
|
(default: /var/lib/linuxsampler/instruments.db)], |
979 |
|
[config_default_instruments_db_file="${enableval}"], |
980 |
|
[config_default_instruments_db_file="/var/lib/linuxsampler/instruments.db"] |
981 |
|
) |
982 |
|
AC_DEFINE_UNQUOTED( |
983 |
|
CONFIG_DEFAULT_INSTRUMENTS_DB_LOCATION, |
984 |
|
"$config_default_instruments_db_file", |
985 |
|
[Only when instruments DB feature is enabled: default location of the DB file.] |
986 |
|
) |
987 |
|
AC_SUBST(config_default_instruments_db_file) |
988 |
|
|
989 |
|
|
990 |
########################################################################### |
########################################################################### |
991 |
# Automatic Benchmarks (to detect the best algorithms for the system) |
# Automatic Benchmarks (to detect the best algorithms for the system) |
1105 |
src/engines/Makefile \ |
src/engines/Makefile \ |
1106 |
src/engines/gig/Makefile \ |
src/engines/gig/Makefile \ |
1107 |
src/engines/common/Makefile \ |
src/engines/common/Makefile \ |
1108 |
src/common/Makefile src/lib/Makefile \ |
src/common/Makefile \ |
|
src/lib/fileloader/Makefile \ |
|
|
src/lib/fileloader/libgig/Makefile \ |
|
1109 |
src/testcases/Makefile \ |
src/testcases/Makefile \ |
1110 |
src/drivers/Makefile \ |
src/drivers/Makefile \ |
1111 |
src/drivers/audio/Makefile \ |
src/drivers/audio/Makefile \ |
1112 |
src/drivers/midi/Makefile \ |
src/drivers/midi/Makefile \ |
1113 |
|
src/plugins/Makefile \ |
1114 |
linuxsampler.spec \ |
linuxsampler.spec \ |
1115 |
debian/Makefile \ |
debian/Makefile \ |
1116 |
Artwork/Makefile \ |
Artwork/Makefile \ |
1172 |
echo "# Process Muted Channels: ${config_process_muted_channels}" |
echo "# Process Muted Channels: ${config_process_muted_channels}" |
1173 |
echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}" |
echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}" |
1174 |
echo "# Interpolate Volume: ${config_interpolate_volume}" |
echo "# Interpolate Volume: ${config_interpolate_volume}" |
1175 |
echo "# Instruments database support: ${instruments_db_support}" |
echo "# Instruments database support: ${config_instruments_db}" |
1176 |
|
if test "$config_instruments_db" = "yes"; then |
1177 |
|
echo "# Instruments DB default location: ${config_default_instruments_db_file}" |
1178 |
|
fi |
1179 |
echo "# Plugin Path: ${config_plugin_dir}" |
echo "# Plugin Path: ${config_plugin_dir}" |
1180 |
echo "#-------------------------------------------------------------------#" |
echo "#-------------------------------------------------------------------#" |
1181 |
echo "# Read './configure --help' or file 'configure.in' for details. #" |
echo "# Read './configure --help' or file 'configure.in' for details. #" |