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.

jackey.h 3.0KB

10 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /*
  2. Copyright 2014 David Robillard <http://drobilla.net>
  3. Permission to use, copy, modify, and/or distribute this software for any
  4. purpose with or without fee is hereby granted, provided that the above
  5. copyright notice and this permission notice appear in all copies.
  6. THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  7. WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  8. MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  9. ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  10. WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  11. ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  12. OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  13. */
  14. /**
  15. The supported event types of an event port.
  16. This is a kludge around Jack only supporting MIDI, particularly for OSC.
  17. This property is a comma-separated list of event types, currently "MIDI" or
  18. "OSC". If this contains "OSC", the port may carry OSC bundles (first byte
  19. '#') or OSC messages (first byte '/'). Note that the "status byte" of both
  20. OSC events is not a valid MIDI status byte, so MIDI clients that check the
  21. status byte will gracefully ignore OSC messages if the user makes an
  22. inappropriate connection.
  23. */
  24. #define JACKEY_EVENT_TYPES "http://jackaudio.org/metadata/event-types"
  25. /**
  26. The type of an audio signal.
  27. This property allows audio ports to be tagged with a "meaning". The value
  28. is a simple string. Currently, the only type is "CV", for "control voltage"
  29. ports. Hosts SHOULD be take care to not treat CV ports as audibile and send
  30. their output directly to speakers. In particular, CV ports are not
  31. necessarily periodic at all and may have very high DC.
  32. */
  33. #define JACKEY_SIGNAL_TYPE "http://jackaudio.org/metadata/signal-type"
  34. /**
  35. The name of the icon for the subject (typically client).
  36. This is used for looking up icons on the system, possibly with many sizes or
  37. themes. Icons should be searched for according to the freedesktop Icon
  38. Theme Specification:
  39. http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
  40. */
  41. #define JACKEY_ICON_NAME "http://jackaudio.org/metadata/icon-name"
  42. /**
  43. Channel designation for a port.
  44. This allows ports to be tagged with a meaningful designation like "left",
  45. "right", "lfe", etc.
  46. The value MUST be a URI. An extensive set of URIs for designating audio
  47. channels can be found at http://lv2plug.in/ns/ext/port-groups
  48. */
  49. #define JACKEY_DESIGNATION "http://lv2plug.in/ns/lv2core#designation"
  50. /**
  51. Order for a port.
  52. This is used to specify the best order to show ports in user interfaces.
  53. The value MUST be an integer. There are no other requirements, so there may
  54. be gaps in the orders for several ports. Applications should compare the
  55. orders of ports to determine their relative order, but must not assign any
  56. other relevance to order values.
  57. */
  58. #define JACKEY_ORDER "http://jackaudio.org/metadata/order"