aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-05-22 15:18:13 +0200
committerDavid Robillard <d@drobilla.net>2020-05-22 15:18:13 +0200
commit7fb5846d75854feaaf364e364b84fa85772532af (patch)
treef5d388eea591eaa217655507ea25271f87e57afa
parentbf6b8468790382bd26dfb614936f788ec82f6b9e (diff)
downloadlv2-7fb5846d75854feaaf364e364b84fa85772532af.tar.xz
eg-sampler: Fix size of note-on atom sent from UI
-rw-r--r--plugins/eg-sampler.lv2/sampler_ui.c2
-rw-r--r--wscript2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/eg-sampler.lv2/sampler_ui.c b/plugins/eg-sampler.lv2/sampler_ui.c
index b5e40db..13a8cd4 100644
--- a/plugins/eg-sampler.lv2/sampler_ui.c
+++ b/plugins/eg-sampler.lv2/sampler_ui.c
@@ -120,7 +120,7 @@ on_play_clicked(GtkFileChooserButton* widget, void* handle)
note_on.msg[0] = LV2_MIDI_MSG_NOTE_ON;
note_on.msg[1] = 60;
note_on.msg[2] = 60;
- ui->write(ui->controller, 0, sizeof(note_on),
+ ui->write(ui->controller, 0, sizeof(LV2_Atom) + 3,
ui->uris.atom_eventTransfer,
&note_on);
}
diff --git a/wscript b/wscript
index bdda6cb..fc1d307 100644
--- a/wscript
+++ b/wscript
@@ -9,7 +9,7 @@ from waflib.extras import autowaf as autowaf
# Mandatory waf variables
APPNAME = 'lv2' # Package name for waf dist
-VERSION = '1.18.0' # Package version for waf dist
+VERSION = '1.18.1' # Package version for waf dist
top = '.' # Source directory
out = 'build' # Build directory