From 2410d3d26d718f370409fc5494f490083d3dd950 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 10 Mar 2017 19:55:33 +0100 Subject: [PATCH] src/onset/onset.c: improve aubio_onset_default_parameters prototype --- src/onset/onset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/onset/onset.c b/src/onset/onset.c index cdd539a9..ea9c01c0 100644 --- a/src/onset/onset.c +++ b/src/onset/onset.c @@ -28,7 +28,7 @@ #include "mathutils.h" #include "onset/onset.h" -void aubio_onset_default_parameters (aubio_onset_t *o, char_t * method); +void aubio_onset_default_parameters (aubio_onset_t *o, const char_t * method); /** structure to store object state */ struct _aubio_onset_t { @@ -252,7 +252,7 @@ beach: return NULL; } -void aubio_onset_default_parameters (aubio_onset_t * o, char_t * onset_mode) +void aubio_onset_default_parameters (aubio_onset_t * o, const char_t * onset_mode) { /* set some default parameter */ aubio_onset_set_threshold (o, 0.3); -- 2.11.0