From 999b0c12fb35317d5dfefa1abafd0ef27674da28 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 13 Nov 2007 09:03:11 +0100 Subject: [PATCH] onsetdetection.{c,h}: remove obsolete _free function --- src/onsetdetection.c | 4 ---- src/onsetdetection.h | 7 ------- 2 files changed, 11 deletions(-) diff --git a/src/onsetdetection.c b/src/onsetdetection.c index ed25ac8e..98a0bd93 100644 --- a/src/onsetdetection.c +++ b/src/onsetdetection.c @@ -283,10 +283,6 @@ new_aubio_onsetdetection (aubio_onsetdetection_type type, return o; } -void aubio_onsetdetection_free (aubio_onsetdetection_t *o){ - del_aubio_onsetdetection(o); -} - void del_aubio_onsetdetection (aubio_onsetdetection_t *o){ switch(o->type) { diff --git a/src/onsetdetection.h b/src/onsetdetection.h index 6728e186..c8eafcd4 100644 --- a/src/onsetdetection.h +++ b/src/onsetdetection.h @@ -160,13 +160,6 @@ aubio_onsetdetection_t * new_aubio_onsetdetection(aubio_onsetdetection_type type */ void del_aubio_onsetdetection(aubio_onsetdetection_t *o); -/** deletion of an onset detection object (obsolete) - - \param o onset detection object as returned by new_aubio_onsetdetection() - -*/ -void aubio_onsetdetection_free(aubio_onsetdetection_t *o); - #ifdef __cplusplus } -- 2.26.2