summaryrefslogtreecommitdiff
path: root/libs/fst
diff options
context:
space:
mode:
Diffstat (limited to 'libs/fst')
-rw-r--r--libs/fst/vstwin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/fst/vstwin.c b/libs/fst/vstwin.c
index 1e053d1ae7..b26295fa73 100644
--- a/libs/fst/vstwin.c
+++ b/libs/fst/vstwin.c
@@ -92,10 +92,10 @@ maybe_set_program (VSTState* fst)
// XXX check
// 24 == audioMasterGetAutomationState,
// 48 == audioMasterGetChunkFile
- pthread_mutex_lock (&vstfx->state_lock);
+ pthread_mutex_lock (&fst->state_lock);
fst->plugin->dispatcher (fst->plugin, 24 /* effSetChunk */, 1, fst->wanted_chunk_size, fst->wanted_chunk, 0);
fst->want_chunk = 0;
- pthread_mutex_unlock (&vstfx->state_lock);
+ pthread_mutex_unlock (&fst->state_lock);
}
}