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)
 | 
			
		||||
    quit 1
 | 
			
		||||
 | 
			
		||||
setControlCHook(cleanup)
 | 
			
		||||
 | 
			
		||||
discard portRegister(jclient, "in_1", JACK_DEFAULT_AUDIO_TYPE, PortIsInput.ord, 0)
 | 
			
		||||
discard portRegister(jclient, "out_1", JACK_DEFAULT_AUDIO_TYPE, PortIsOutput.ord, 0)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user