fix: add missing cleanup to example
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
This commit is contained in:
parent
b8d5119d03
commit
b28d4fbfa6
|
@ -39,6 +39,8 @@ if jclient == nil:
|
||||||
echo getJackStatusErrorString(status)
|
echo getJackStatusErrorString(status)
|
||||||
quit 1
|
quit 1
|
||||||
|
|
||||||
|
setControlCHook(cleanup)
|
||||||
|
|
||||||
discard portRegister(jclient, "in_1", JACK_DEFAULT_AUDIO_TYPE, PortIsInput.ord, 0)
|
discard portRegister(jclient, "in_1", JACK_DEFAULT_AUDIO_TYPE, PortIsInput.ord, 0)
|
||||||
discard portRegister(jclient, "out_1", JACK_DEFAULT_AUDIO_TYPE, PortIsOutput.ord, 0)
|
discard portRegister(jclient, "out_1", JACK_DEFAULT_AUDIO_TYPE, PortIsOutput.ord, 0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue