src/aubio_setup.c: add custom logging function