shithub: aubio

Download patch

ref: 082c88b71ad547d44e52ef4e888dd94d2fa756a8
parent: 5cb8abea294208f9ce4457e5ee6fa22b2f72b9d8
author: Paul Brossier <piem@piem.org>
date: Sun Jan 26 11:13:28 EST 2014

src/io/{source,sink}.c: fix del_ prototypes

--- a/src/io/sink.c
+++ b/src/io/sink.c
@@ -38,7 +38,7 @@
 typedef uint_t (*aubio_sink_get_samplerate_t)(aubio_sink_t * s);
 typedef uint_t (*aubio_sink_get_channels_t)(aubio_sink_t * s);
 #endif
-typedef uint_t (*del_aubio_sink_t)(aubio_sink_t * s);
+typedef void (*del_aubio_sink_t)(aubio_sink_t * s);
 
 struct _aubio_sink_t { 
   void *sink;
--- a/src/io/source.c
+++ b/src/io/source.c
@@ -41,7 +41,7 @@
 typedef uint_t (*aubio_source_get_samplerate_t)(aubio_source_t * s);
 typedef uint_t (*aubio_source_get_channels_t)(aubio_source_t * s);
 typedef uint_t (*aubio_source_seek_t)(aubio_source_t * s, uint_t seek);
-typedef uint_t (*del_aubio_source_t)(aubio_source_t * s);
+typedef void (*del_aubio_source_t)(aubio_source_t * s);
 
 struct _aubio_source_t { 
   void *source;