fix another typo (f30fbcaaf)
authorRobin Gareus <robin@gareus.org>
Tue, 15 Nov 2016 00:17:47 +0000 (01:17 +0100)
committerRobin Gareus <robin@gareus.org>
Tue, 15 Nov 2016 00:18:10 +0000 (01:18 +0100)
libs/fst/vstwin.c

index 1e053d1ae7198272c108669f2ffd7e31c4c158d9..b26295fa73ac6dc7397b8ec070d8ac01e1b6211c 100644 (file)
@@ -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);
        }
 }