SPEEX_PREPROCESS_GET_AGC_LOUDNESS patch by Mihai Balea