External, Non-PPA KXStudio Repository
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.

136 lines
5.6KB

  1. From db715453bc12ac1d91183d3bc3642e4055c9aa26 Mon Sep 17 00:00:00 2001
  2. From: Reuben Thomas <reuben.thomas@me.com>
  3. Date: Wed, 17 Feb 2021 23:32:12 +0000
  4. Subject: [PATCH] Fix typos in docstrings
  5. ---
  6. lv2/atom/forge.h | 6 +++---
  7. lv2/core/lv2.h | 2 +-
  8. lv2/dynmanifest/dynmanifest.h | 2 +-
  9. lv2/event/event.h | 2 +-
  10. lv2/log/logger.h | 2 +-
  11. lv2/state/state.h | 2 +-
  12. lv2/ui/ui.h | 6 +++---
  13. 7 files changed, 11 insertions(+), 11 deletions(-)
  14. diff --git a/lv2/atom/forge.h b/lv2/atom/forge.h
  15. index 714df7e5..5cf3551e 100644
  16. --- a/lv2/atom/forge.h
  17. +++ b/lv2/atom/forge.h
  18. @@ -27,8 +27,8 @@
  19. must be popped when the container is finished.
  20. All output is written to a user-provided buffer or sink function. This
  21. - makes it popssible to create create atoms on the stack, on the heap, in LV2
  22. - port buffers, in a ringbuffer, or elsewhere, all using the same API.
  23. + makes it possible to create atoms on the stack, on the heap, in LV2 port
  24. + buffers, in a ringbuffer, or elsewhere, all using the same API.
  25. This entire API is realtime safe if used with a buffer or a realtime safe
  26. sink, except lv2_atom_forge_init() which is only realtime safe if the URI
  27. @@ -282,7 +282,7 @@ lv2_atom_forge_set_sink(LV2_Atom_Forge* forge,
  28. /**
  29. Write raw output. This is used internally, but is also useful for writing
  30. atom types not explicitly supported by the forge API. Note the caller is
  31. - responsible for ensuring the output is approriately padded.
  32. + responsible for ensuring the output is appropriately padded.
  33. */
  34. static inline LV2_Atom_Forge_Ref
  35. lv2_atom_forge_raw(LV2_Atom_Forge* forge, const void* data, uint32_t size)
  36. diff --git a/lv2/core/lv2.h b/lv2/core/lv2.h
  37. index 783fe864..84c40a50 100644
  38. --- a/lv2/core/lv2.h
  39. +++ b/lv2/core/lv2.h
  40. @@ -338,7 +338,7 @@ typedef struct LV2_Descriptor {
  41. void (*cleanup)(LV2_Handle instance);
  42. /**
  43. - Return additional plugin data defined by some extenion.
  44. + Return additional plugin data defined by some extension.
  45. A typical use of this facility is to return a struct containing function
  46. pointers to extend the LV2_Descriptor API.
  47. diff --git a/lv2/dynmanifest/dynmanifest.h b/lv2/dynmanifest/dynmanifest.h
  48. index 6181f71e..674577b5 100644
  49. --- a/lv2/dynmanifest/dynmanifest.h
  50. +++ b/lv2/dynmanifest/dynmanifest.h
  51. @@ -84,7 +84,7 @@ lv2_dyn_manifest_open(LV2_Dyn_Manifest_Handle* handle,
  52. <http://example.org/plugin> a lv2:Plugin .
  53. - The objects that are elegible for exposure are those that would need to be
  54. + The objects that are eligible for exposure are those that would need to be
  55. represented by a subject node in a static manifest.
  56. @param handle Dynamic manifest generator handle.
  57. diff --git a/lv2/event/event.h b/lv2/event/event.h
  58. index d55d5cf4..045ac124 100644
  59. --- a/lv2/event/event.h
  60. +++ b/lv2/event/event.h
  61. @@ -61,7 +61,7 @@ LV2_DISABLE_DEPRECATION_WARNINGS
  62. /**
  63. The best Pulses Per Quarter Note for tempo-based uint32_t timestamps.
  64. - Equal to 2^12 * 5 * 7 * 9 * 11 * 13 * 17, which is evenly divisble
  65. + Equal to 2^12 * 5 * 7 * 9 * 11 * 13 * 17, which is evenly divisible
  66. by all integers from 1 through 18 inclusive, and powers of 2 up to 2^12.
  67. */
  68. LV2_DEPRECATED
  69. diff --git a/lv2/log/logger.h b/lv2/log/logger.h
  70. index e12b0eb4..d6919a2f 100644
  71. --- a/lv2/log/logger.h
  72. +++ b/lv2/log/logger.h
  73. @@ -23,7 +23,7 @@
  74. Convenience API for easy logging in plugin code. This API provides simple
  75. wrappers for logging from a plugin, which automatically fall back to
  76. - printing to stderr if host support is unavailabe.
  77. + printing to stderr if host support is unavailable.
  78. @{
  79. */
  80. diff --git a/lv2/state/state.h b/lv2/state/state.h
  81. index 70972d84..e526d855 100644
  82. --- a/lv2/state/state.h
  83. +++ b/lv2/state/state.h
  84. @@ -76,7 +76,7 @@ typedef enum {
  85. Values with this flag contain no pointers or references to other areas
  86. of memory. It is safe to copy POD values with a simple memcpy and store
  87. them for the duration of the process. A POD value is not necessarily
  88. - safe to trasmit between processes or machines (for example, filenames
  89. + safe to transmit between processes or machines (for example, filenames
  90. are POD), see LV2_STATE_IS_PORTABLE for details.
  91. Implementations MUST NOT attempt to copy or serialise a non-POD value if
  92. diff --git a/lv2/ui/ui.h b/lv2/ui/ui.h
  93. index 61b3b54b..fb41d90d 100644
  94. --- a/lv2/ui/ui.h
  95. +++ b/lv2/ui/ui.h
  96. @@ -202,7 +202,7 @@ typedef struct LV2UI_Descriptor {
  97. By default, the host should only call this function for lv2:ControlPort
  98. inputs. However, the UI can request updates for other ports statically
  99. - with ui:portNotification or dynamicaly with ui:portSubscribe.
  100. + with ui:portNotification or dynamically with ui:portSubscribe.
  101. The UI MUST NOT retain any reference to `buffer` after this function
  102. returns, it is only valid for the duration of the call.
  103. @@ -357,7 +357,7 @@ typedef enum {
  104. /**
  105. Completed successfully.
  106. - The host will set the parameter later if the user choses a new value.
  107. + The host will set the parameter later if the user chooses a new value.
  108. */
  109. LV2UI_REQUEST_VALUE_SUCCESS,
  110. @@ -405,7 +405,7 @@ typedef struct {
  111. any parameter value.
  112. This function returns immediately, and the return value indicates
  113. - whether the host can fulfill the request. The host may notify the
  114. + whether the host can fulfil the request. The host may notify the
  115. plugin about the new parameter value, for example when a file is
  116. selected by the user, via the usual mechanism. Typically, the host will
  117. send a message to the plugin that sets the new parameter value, and the