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.

161 lines
3.5KB

  1. /*
  2. * Carla JACK API for external applications
  3. * Copyright (C) 2016-2019 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. #include "libjack.hpp"
  18. CARLA_BACKEND_USE_NAMESPACE
  19. // --------------------------------------------------------------------------------------------------------------------
  20. CARLA_EXPORT
  21. const char* JACK_METADATA_PRETTY_NAME;
  22. const char* JACK_METADATA_PRETTY_NAME = "http://jackaudio.org/metadata/pretty-name";
  23. CARLA_EXPORT
  24. const char* JACK_METADATA_HARDWARE;
  25. const char* JACK_METADATA_HARDWARE = "http://jackaudio.org/metadata/hardware";
  26. CARLA_EXPORT
  27. const char* JACK_METADATA_CONNECTED;
  28. const char* JACK_METADATA_CONNECTED = "http://jackaudio.org/metadata/connected";
  29. CARLA_EXPORT
  30. const char* JACK_METADATA_PORT_GROUP;
  31. const char* JACK_METADATA_PORT_GROUP = "http://jackaudio.org/metadata/port-group";
  32. CARLA_EXPORT
  33. const char* JACK_METADATA_ICON_SMALL;
  34. const char* JACK_METADATA_ICON_SMALL = "http://jackaudio.org/metadata/icon-small";
  35. CARLA_EXPORT
  36. const char* JACK_METADATA_ICON_LARGE;
  37. const char* JACK_METADATA_ICON_LARGE = "http://jackaudio.org/metadata/icon-large";
  38. // --------------------------------------------------------------------------------------------------------------------
  39. CARLA_EXPORT
  40. int jack_set_property(jack_client_t*, jack_uuid_t, const char*, const char*, const char*)
  41. {
  42. return -1;
  43. }
  44. CARLA_EXPORT
  45. int jack_get_property(jack_uuid_t, const char*, char**, char**)
  46. {
  47. return -1;
  48. }
  49. CARLA_EXPORT
  50. void jack_free_description(jack_description_t*, int)
  51. {
  52. }
  53. CARLA_EXPORT
  54. int jack_get_properties(jack_uuid_t, jack_description_t*)
  55. {
  56. return -1;
  57. }
  58. CARLA_EXPORT
  59. int jack_get_all_properties(jack_description_t**)
  60. {
  61. return -1;
  62. }
  63. CARLA_EXPORT
  64. int jack_remove_property(jack_client_t*, jack_uuid_t, const char*)
  65. {
  66. return -1;
  67. }
  68. CARLA_EXPORT
  69. int jack_remove_properties(jack_client_t*, jack_uuid_t)
  70. {
  71. return -1;
  72. }
  73. CARLA_EXPORT
  74. int jack_remove_all_properties(jack_client_t*)
  75. {
  76. return -1;
  77. }
  78. CARLA_EXPORT
  79. int jack_set_property_change_callback(jack_client_t*, JackPropertyChangeCallback, void*)
  80. {
  81. return -1;
  82. }
  83. // --------------------------------------------------------------------------------------------------------------------
  84. CARLA_EXPORT
  85. jack_uuid_t jack_client_uuid_generate()
  86. {
  87. return 0;
  88. }
  89. CARLA_EXPORT
  90. jack_uuid_t jack_port_uuid_generate(uint32_t)
  91. {
  92. return 0;
  93. }
  94. CARLA_EXPORT
  95. uint32_t jack_uuid_to_index(jack_uuid_t)
  96. {
  97. return 0;
  98. }
  99. CARLA_EXPORT
  100. int jack_uuid_compare(jack_uuid_t, jack_uuid_t)
  101. {
  102. return 0;
  103. }
  104. CARLA_EXPORT
  105. void jack_uuid_copy(jack_uuid_t*, jack_uuid_t)
  106. {
  107. }
  108. CARLA_EXPORT
  109. void jack_uuid_clear(jack_uuid_t*)
  110. {
  111. }
  112. CARLA_EXPORT
  113. int jack_uuid_parse(const char*, jack_uuid_t*)
  114. {
  115. return 0;
  116. }
  117. CARLA_EXPORT
  118. void jack_uuid_unparse(jack_uuid_t, char buf[JACK_UUID_STRING_SIZE])
  119. {
  120. return;
  121. // unused
  122. (void)buf;
  123. }
  124. CARLA_EXPORT
  125. int jack_uuid_empty(jack_uuid_t)
  126. {
  127. return 0;
  128. }
  129. // --------------------------------------------------------------------------------------------------------------------