ref: 2704647f85a4e1fbbd71ccad0309db53b87807a1
parent: 6c7d49b35493f7802c7834335f47b82f243ea6fa
parent: 16e0f16201dfb010f6cc77f945b94fbd8c3534c9
author: Paul Brossier <[email protected]>
date: Fri Nov 30 05:00:10 EST 2007
merge from main branch
--- a/configure.ac
+++ b/configure.ac
@@ -81,6 +81,8 @@
dnl Check for libtool
AC_LIBTOOL_DLOPEN
dnl AC_DISABLE_STATIC
+dnl allow cross compiling
+AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
AC_CONFIG_HEADERS(src/config.h)
--- a/examples/utils.c
+++ b/examples/utils.c
@@ -21,7 +21,6 @@
int lash_main (void);
void save_data (void);
void restore_data(lash_config_t * lash_config);
-void flush_process(aubio_process_func_t process_func, aubio_print_func_t print);
pthread_t lash_thread;
#endif /* LASH_SUPPORT */
@@ -409,7 +408,7 @@
}
void flush_process(aubio_process_func_t process_func, aubio_print_func_t print){
- uint i,j;
+ uint_t i,j;
for (i = 0; i < channels; i++) {
for (j = 0; j < obuf->length; j++) {
fvec_write_sample(obuf,0.,i,j);
--- a/examples/utils.h
+++ b/examples/utils.h
@@ -56,6 +56,7 @@
(smpl_t **input, smpl_t **output, int nframes);
#endif
void examples_common_process(aubio_process_func_t process_func, aubio_print_func_t print);
+void flush_process(aubio_process_func_t process_func, aubio_print_func_t print);
void send_noteon(int pitch, int velo);