aboutsummaryrefslogtreecommitdiffstats
path: root/src/square.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/square.c')
-rw-r--r--src/square.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/square.c b/src/square.c
index 001a47e..8267803 100644
--- a/src/square.c
+++ b/src/square.c
@@ -56,7 +56,8 @@ instantiate(const LV2_Descriptor* descriptor,
{
Square* plugin = (Square*)malloc(sizeof(Square));
- if (wavedata_load(&plugin->wdat, BLOP_DLSYM_SQUARE, sample_rate)) {
+ if (wavedata_load(&plugin->wdat, bundle_path, "square_data",
+ BLOP_DLSYM_SQUARE, sample_rate)) {
free(plugin);
return NULL;
}