mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	jack: return an empty session command
We need to return an empty message because apps don't expect a NULL pointer.
This commit is contained in:
		
							parent
							
								
									2eaf10d5b3
								
							
						
					
					
						commit
						ef150bfb3c
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -4743,9 +4743,11 @@ jack_session_command_t *jack_session_notify (
 | 
				
			||||||
        const char                *path)
 | 
					        const char                *path)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct client *c = (struct client *) client;
 | 
						struct client *c = (struct client *) client;
 | 
				
			||||||
 | 
						jack_session_command_t *cmds;
 | 
				
			||||||
	spa_return_val_if_fail(c != NULL, NULL);
 | 
						spa_return_val_if_fail(c != NULL, NULL);
 | 
				
			||||||
	pw_log_warn("not implemented");
 | 
						pw_log_warn("not implemented");
 | 
				
			||||||
	return NULL;
 | 
						cmds = calloc(1, sizeof(jack_session_command_t));
 | 
				
			||||||
 | 
						return cmds;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SPA_EXPORT
 | 
					SPA_EXPORT
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue