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.

72 lines
1.6KB

  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. return 0;
  25. }
  26. CARLA_EXPORT
  27. int jack_midi_event_get(jack_midi_event_t*, void*, uint32_t)
  28. {
  29. return ENODATA;
  30. }
  31. CARLA_EXPORT
  32. void jack_midi_clear_buffer(void*)
  33. {
  34. }
  35. CARLA_EXPORT
  36. void jack_midi_reset_buffer(void*)
  37. {
  38. }
  39. CARLA_EXPORT
  40. size_t jack_midi_max_event_size(void*)
  41. {
  42. return 0;
  43. }
  44. CARLA_EXPORT
  45. jack_midi_data_t* jack_midi_event_reserve(void*, jack_nframes_t, size_t)
  46. {
  47. return nullptr;
  48. }
  49. CARLA_EXPORT
  50. int jack_midi_event_write(void*, jack_nframes_t, const jack_midi_data_t*, size_t)
  51. {
  52. return ENOBUFS;
  53. }
  54. CARLA_EXPORT
  55. uint32_t jack_midi_get_lost_event_count(void*)
  56. {
  57. return 0;
  58. }
  59. // --------------------------------------------------------------------------------------------------------------------