diff options
author | Robin Gareus <robin@gareus.org> | 2014-11-13 21:31:09 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-11-13 21:31:09 +0100 |
commit | b376f6bc45f8c88ada432bce30a70d7ae424e978 (patch) | |
tree | ef63f269c971f1f8d9ce645f307cd2d6f7e8f582 /libs | |
parent | b9fc616538deab68d229eb126b6ef9cf8c5157ca (diff) |
auto-initialize weak-jack
(not needed with ardour - but keep code in sync with
https://github.com/x42/weakjack)
Diffstat (limited to 'libs')
-rw-r--r-- | libs/backends/jack/weak_libjack.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/backends/jack/weak_libjack.c b/libs/backends/jack/weak_libjack.c index 02705f44af..1bd3305dfc 100644 --- a/libs/backends/jack/weak_libjack.c +++ b/libs/backends/jack/weak_libjack.c @@ -191,6 +191,9 @@ int have_libjack (void) { /* dedicated support for jack_client_open(,..) variable arg function macro */ func_t WJACK_get_client_open(void) { + if (_status == -1) { + init_weak_jack(); + } return _j._client_open; } |