Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
2.0KB

  1. /*
  2. * Carla JACK API for external applications
  3. * Copyright (C) 2016-2017 Filipe Coelho <falktx@falktx.com>
  4. *
  5. * This program is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU General Public License as
  7. * published by the Free Software Foundation; either version 2 of
  8. * the License, or any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * For a full copy of the GNU General Public License see the doc/GPL.txt file.
  16. */
  17. // need to include this first
  18. #include "libjack.hpp"
  19. CARLA_BACKEND_USE_NAMESPACE
  20. // --------------------------------------------------------------------------------------------------------------------
  21. CARLA_EXPORT
  22. jack_nframes_t jack_midi_get_event_count(void*)
  23. {
  24. carla_stdout("CarlaJackClient :: %s", __FUNCTION__);
  25. return 0;
  26. }
  27. CARLA_EXPORT
  28. int jack_midi_event_get(jack_midi_event_t*, void*, uint32_t)
  29. {
  30. carla_stdout("CarlaJackClient :: %s", __FUNCTION__);
  31. return ENODATA;
  32. }
  33. // void
  34. // jack_midi_clear_buffer(void *port_buffer) JACK_OPTIONAL_WEAK_EXPORT;
  35. // void
  36. // jack_midi_reset_buffer(void *port_buffer) JACK_OPTIONAL_WEAK_EXPORT;
  37. // size_t
  38. // jack_midi_max_event_size(void* port_buffer) JACK_OPTIONAL_WEAK_EXPORT;
  39. // jack_midi_data_t*
  40. // jack_midi_event_reserve(void *port_buffer,
  41. // jack_nframes_t time,
  42. // size_t data_size) JACK_OPTIONAL_WEAK_EXPORT;
  43. // int
  44. // jack_midi_event_write(void *port_buffer,
  45. // jack_nframes_t time,
  46. // const jack_midi_data_t *data,
  47. // size_t data_size) JACK_OPTIONAL_WEAK_EXPORT;
  48. // uint32_t jack_midi_get_lost_event_count(void *port_buffer) JACK_OPTIONAL_WEAK_EXPORT;
  49. // --------------------------------------------------------------------------------------------------------------------