mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	jack: handle client init error with -EIO
This commit is contained in:
		
							parent
							
								
									b35969c706
								
							
						
					
					
						commit
						715a3a642a
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -63,6 +63,8 @@ static int status_to_result(jack_status_t status)
 | 
				
			||||||
		res = -ECONNREFUSED;
 | 
							res = -ECONNREFUSED;
 | 
				
			||||||
	else if (status & JackVersionError)
 | 
						else if (status & JackVersionError)
 | 
				
			||||||
		res = -EPROTO;
 | 
							res = -EPROTO;
 | 
				
			||||||
 | 
						else if (status & JackInitFailure)
 | 
				
			||||||
 | 
							res = -EIO;
 | 
				
			||||||
	else
 | 
						else
 | 
				
			||||||
		res = -EFAULT;
 | 
							res = -EFAULT;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue