aboutsummaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/persist.lv2/persist.ttl2
-rw-r--r--ext/state.lv2/state.ttl4
-rw-r--r--ext/time.lv2/time.ttl2
3 files changed, 4 insertions, 4 deletions
diff --git a/ext/persist.lv2/persist.ttl b/ext/persist.lv2/persist.ttl
index 1c02cc2..697b931 100644
--- a/ext/persist.lv2/persist.ttl
+++ b/ext/persist.lv2/persist.ttl
@@ -147,7 +147,7 @@ int store_callback(void* callback_data,
uint32_t type,
uint32_t flags)
{
- if ((flags & LV2_PERSIST_IS_POD)) {
+ if ((flags & LV2_PERSIST_IS_POD)) {
/* Keeping state in memory only, if disk was involved then
LV2_PERSIST_IS_PORTABLE would have to be checked as well.
*/
diff --git a/ext/state.lv2/state.ttl b/ext/state.lv2/state.ttl
index 6456520..9d8305e 100644
--- a/ext/state.lv2/state.ttl
+++ b/ext/state.lv2/state.ttl
@@ -134,7 +134,7 @@ const void* my_extension_data(const char* uri)
{
static const LV2_State_Interface state_iface = { my_save, my_restore };
if (!strcmp(uri, "http://lv2plug.in/ns/ext/state#Interface")) {
- return &state_iface;
+ return &state_iface;
}
}
</pre>
@@ -148,7 +148,7 @@ int store_callback(void* handle,
uint32_t type,
uint32_t flags)
{
- if ((flags & LV2_STATE_IS_POD)) {
+ if ((flags &amp; LV2_STATE_IS_POD)) {
/* We only care about POD since we're keeping state in memory only.
If this was for disk or network storage/transmission,
LV2_STATE_IS_PORTABLE would have to be checked as well.
diff --git a/ext/time.lv2/time.ttl b/ext/time.lv2/time.ttl
index bf57402..4823d07 100644
--- a/ext/time.lv2/time.ttl
+++ b/ext/time.lv2/time.ttl
@@ -47,7 +47,7 @@ used as the type field of an event to indicate that the event payload is an
LV2_Time_Positon struct. Plugins SHOULD indicate that a port supports time
information using the ev:supports predicate, e.g.:
<pre class="turtle-code">
-<plugin> lv2:port [
+&lt;plugin&gt; lv2:port [
a lv2:InputPort , ev:EventPort ;
lv2:name "control" ;
lv2:index 0 ;