source: examples/midialsa.c @ 5a61c29

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 5a61c29 was b49daf6, checked in by Paul Brossier <piem@altern.org>, 20 years ago

started enabling ladcca support

ladcca still need works, not sure how to avoid the extern client

  • Property mode set to 100644
File size: 499 bytes
Line 
1/* __copyright__ */
2
3#include "aubio.h"
4#include <unistd.h>
5
6/* not supported yet */
7#ifdef LADCCA_SUPPORT
8#include <ladcca/ladcca.h>
9cca_client_t * aubio_cca_client;
10#endif /* LADCCA_SUPPORT */
11
12int main(int argc, char **argv) {
13#if ALSA_SUPPORT
14  aubio_midi_player_t * mplay = new_aubio_midi_player();
15  aubio_midi_driver_t * mdriver = new_aubio_midi_driver("alsa_seq",
16    (handle_midi_event_func_t)aubio_midi_send_event, mplay);
17  pause();
18  del_aubio_midi_driver(mdriver);
19#endif
20  return 0;
21}
Note: See TracBrowser for help on using the repository browser.