diff options
author | David Robillard <d@drobilla.net> | 2024-11-17 08:20:17 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-11-24 19:04:07 -0500 |
commit | 660d0e3591e6a972f5d4adfd7d0d3bf6cef566f9 (patch) | |
tree | 046c2c571efb23cc24fbe90dd885c44dd0b52743 /src/jalv.c | |
parent | 06bd42a00bd86f5d487727ff8f08797f9286b27f (diff) | |
download | jalv-660d0e3591e6a972f5d4adfd7d0d3bf6cef566f9.tar.gz jalv-660d0e3591e6a972f5d4adfd7d0d3bf6cef566f9.tar.bz2 jalv-660d0e3591e6a972f5d4adfd7d0d3bf6cef566f9.zip |
Use message mechanism to pause plugin execution
Diffstat (limited to 'src/jalv.c')
-rw-r--r-- | src/jalv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -924,7 +924,7 @@ jalv_open(Jalv* const jalv, int* argc, char*** argv) jalv->block_length = 4096U; jalv->midi_buf_size = 1024U; jalv->msg_buf_size = 1024U; - jalv->play_state = JALV_PAUSED; + jalv->run_state = JALV_PAUSED; jalv->bpm = 120.0f; jalv->control_in = UINT32_MAX; jalv->log.urids = &jalv->urids; @@ -1187,8 +1187,8 @@ jalv_open(Jalv* const jalv, int* argc, char*** argv) jalv->has_ui = jalv_frontend_discover(jalv); // Activate audio backend + jalv->run_state = JALV_RUNNING; jalv_backend_activate(jalv); - jalv->play_state = JALV_RUNNING; return 0; } |