--- linuxsampler/trunk/configure.in 2005/05/19 19:25:14 554 +++ linuxsampler/trunk/configure.in 2005/05/22 20:43:32 563 @@ -360,10 +360,10 @@ available options: none: Disable voice stealing completely. - oldestvoiceonkey: + oldestvoiceonkey (default): Try to kill a voice on the same key first, if no success, proceed with the oldest key. - oldestkey (default): + oldestkey: Try to kill a voice from the oldest active key.], [ if test ! "(" "${enableval}" = "none" \ @@ -374,7 +374,7 @@ config_voice_steal_algo="${enableval}" fi ], - [config_voice_steal_algo="oldestkey"] + [config_voice_steal_algo="oldestvoiceonkey"] ) AC_DEFINE_UNQUOTED(CONFIG_VOICE_STEAL_ALGO, voice_steal_algo_${config_voice_steal_algo}, [Define voice stealing algorithm to be used.]) @@ -487,6 +487,21 @@ AC_DEFINE_UNQUOTED(CONFIG_OVERRIDE_FILTER_TYPE, $config_override_filter_type, [Define to a filter type to always force that filter type.]) fi +AC_ARG_ENABLE(gs-checksum, + [ --enable-gs-checksum + Enable Roland General Synth SysEx checksum check + (default=no). If this is enabled, all GS SysEx + messages which do not provide a correct checksum + will be ignored. This is disabled by default as + not all devices honor GS checksums.], + [config_assert_gs_sysex_checksum="yes"], + [config_assert_gs_sysex_checksum="no"] +) +if test "config_assert_gs_sysex_checksum" = "yes"; then + AC_DEFINE_UNQUOTED(CONFIG_ASSERT_GS_SYSEX_CHECKSUM, 1, [Define to 1 if you want to enable GS SysEx check.]) +fi + + ########################################################################### # Create Build Files @@ -526,6 +541,7 @@ echo "# Stream Size: ${config_stream_size}" echo "# Maximum Disk Streams: ${config_max_streams}" echo "# Maximum Voices: ${config_max_voices}" +echo "# Voice Stealing Algorithm: ${config_voice_steal_algo}" echo "# SysEx Buffer Size: ${config_sysex_buffer_size} Byte" echo "# Filter Update Steps: ${config_filter_update_steps}" echo "# Force Filter Usage: ${config_force_filter}" @@ -534,6 +550,7 @@ echo "# Override Filter Cutoff Controller: ${config_override_cutoff_ctrl}" echo "# Override Filter Resonance Controller: ${config_override_resonance_ctrl}" echo "# Override Filter Type: ${config_override_filter_type}" +echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}" echo "#-------------------------------------------------------------------#" echo "# Read './configure --help' or file 'configure.in' for details. #" echo "#####################################################################"