feature/crepe_org
Last change
on this file since e2010b3 was
05774ba3,
checked in by Paul Brossier <piem@piem.org>, 6 years ago
|
[tests] improve test-sink
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[9ffcf83] | 1 | #define AUBIO_UNSTABLE 1 |
---|
[11a1abe] | 2 | #include <aubio.h> |
---|
[248da64] | 3 | #include "utils_tests.h" |
---|
[11a1abe] | 4 | |
---|
[46a1e34] | 5 | #define aubio_sink_custom "apple_audio" |
---|
[11a1abe] | 6 | |
---|
[6716024] | 7 | #ifdef HAVE_SINK_APPLE_AUDIO |
---|
[46a1e34] | 8 | #define HAVE_AUBIO_SINK_CUSTOM |
---|
| 9 | #define aubio_sink_custom_t aubio_sink_apple_audio_t |
---|
| 10 | #define new_aubio_sink_custom new_aubio_sink_apple_audio |
---|
| 11 | #define del_aubio_sink_custom del_aubio_sink_apple_audio |
---|
| 12 | #define aubio_sink_custom_do aubio_sink_apple_audio_do |
---|
| 13 | #define aubio_sink_custom_do_multi aubio_sink_apple_audio_do_multi |
---|
| 14 | #define aubio_sink_custom_close aubio_sink_apple_audio_close |
---|
| 15 | #define aubio_sink_custom_preset_samplerate aubio_sink_apple_audio_preset_samplerate |
---|
| 16 | #define aubio_sink_custom_preset_channels aubio_sink_apple_audio_preset_channels |
---|
[05774ba3] | 17 | #define aubio_sink_custom_get_samplerate aubio_sink_apple_audio_get_samplerate |
---|
| 18 | #define aubio_sink_custom_get_channels aubio_sink_apple_audio_get_channels |
---|
[46a1e34] | 19 | #endif /* HAVE_SINK_APPLE_AUDIO */ |
---|
[11a1abe] | 20 | |
---|
[46a1e34] | 21 | #include "base-sink_custom.h" |
---|
[248da64] | 22 | |
---|
[46a1e34] | 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 |
---|
[11a1abe] | 25 | |
---|
[46a1e34] | 26 | int main (int argc, char **argv) |
---|
| 27 | { |
---|
| 28 | return base_main(argc, argv); |
---|
[11a1abe] | 29 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.