--- linuxsampler/trunk/configure.in 2005/08/16 17:14:25 738 +++ linuxsampler/trunk/configure.in 2005/12/22 21:04:35 821 @@ -99,6 +99,9 @@ fi fi +# check for +AC_CHECK_HEADERS(feature.h) + # Checks for available audio and MIDI systems / drivers # (we throw an error if there's not at least one system for audio output and MIDI input available) have_midi_input_driver="false" @@ -451,6 +454,16 @@ ) AC_DEFINE_UNQUOTED(CONFIG_DEFAULT_SUBFRAGMENT_SIZE, $config_subfragment_size, [Define default subfragment size (in sample points).]) +AC_ARG_ENABLE(global-attenuation, + [ --enable-global-attenuation + To prevent clipping all samples will be lowered + in amplitude by this given factor. + (default=0.35)], + [config_global_attenuation="${enableval}"], + [config_global_attenuation="0.35"] +) +AC_DEFINE_UNQUOTED(CONFIG_GLOBAL_ATTENUATION, $config_global_attenuation, [Define global volume attenuation (as floating point factor).]) + AC_ARG_ENABLE(voice-steal-algo, [ --enable-voice-steal-algo Voice stealing algorithm to be used. Currently @@ -816,6 +829,7 @@ echo "# Maximum Disk Streams: ${config_max_streams}" echo "# Maximum Voices: ${config_max_voices}" echo "# Default Subfragment Size: ${config_subfragment_size}" +echo "# Global Volume Attenuation: ${config_global_attenuation}" echo "# Voice Stealing Algorithm: ${config_voice_steal_algo}" echo "# Signed Triangular Oscillator Algorithm: ${config_signed_triang_algo}" echo "# Unsigned Triangular Oscillator Algorithm: ${config_unsigned_triang_algo}"