mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	flags: change flag macros
SPA_FLAG_CHECK -> SPA_FLAG_IS_SET SPA_FLAG_UNSET -> SPA_FLAG_CLEAR Add SPA_FLAG_UPDATE
This commit is contained in:
		
							parent
							
								
									cc8e992cd1
								
							
						
					
					
						commit
						6e0ffb0c47
					
				
					 33 changed files with 91 additions and 92 deletions
				
			
		| 
						 | 
				
			
			@ -100,7 +100,7 @@ pw_spa_device_new(struct pw_core *core,
 | 
			
		|||
	pw_device_add_listener(this, &impl->device_listener, &device_events, impl);
 | 
			
		||||
	pw_device_set_implementation(this, impl->device);
 | 
			
		||||
 | 
			
		||||
	if (!SPA_FLAG_CHECK(impl->flags, PW_SPA_DEVICE_FLAG_NO_REGISTER)) {
 | 
			
		||||
	if (!SPA_FLAG_IS_SET(impl->flags, PW_SPA_DEVICE_FLAG_NO_REGISTER)) {
 | 
			
		||||
		if ((res = pw_device_register(this, NULL)) < 0)
 | 
			
		||||
			goto error_register;
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue