1 #define AUBIO_UNSTABLE 1
3 #include "utils_tests.h"
5 #define aubio_sink_custom "sndfile"
8 #define HAVE_AUBIO_SINK_CUSTOM
9 #define aubio_sink_custom_t aubio_sink_sndfile_t
10 #define new_aubio_sink_custom new_aubio_sink_sndfile
11 #define del_aubio_sink_custom del_aubio_sink_sndfile
12 #define aubio_sink_custom_do aubio_sink_sndfile_do
13 #define aubio_sink_custom_do_multi aubio_sink_sndfile_do_multi
14 #define aubio_sink_custom_close aubio_sink_sndfile_close
15 #define aubio_sink_custom_preset_samplerate aubio_sink_sndfile_preset_samplerate
16 #define aubio_sink_custom_preset_channels aubio_sink_sndfile_preset_channels
17 #define aubio_sink_custom_get_samplerate aubio_sink_sndfile_get_samplerate
18 #define aubio_sink_custom_get_channels aubio_sink_sndfile_get_channels
19 #endif /* HAVE_SNDFILE */
21 #include "base-sink_custom.h"
23 // this file uses the unstable aubio api, please use aubio_sink instead
24 // see src/io/sink.h and tests/src/sink/test-sink.c
26 int main (int argc, char **argv)
28 return base_main(argc, argv);