mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	module-pulse-tunnel: use SPA_UNLIKELY instead of PA_UNLIKELY
This commit is contained in:
		
							parent
							
								
									e1baf62cc7
								
							
						
					
					
						commit
						09cba1e4de
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -375,7 +375,7 @@ static void stream_read_request_cb(pa_stream *s, size_t length, void *userdata)
 | 
				
			||||||
		const void *p;
 | 
							const void *p;
 | 
				
			||||||
		size_t nbytes = 0;
 | 
							size_t nbytes = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if (PA_UNLIKELY(pa_stream_peek(impl->pa_stream, &p, &nbytes) != 0)) {
 | 
							if (SPA_UNLIKELY(pa_stream_peek(impl->pa_stream, &p, &nbytes) != 0)) {
 | 
				
			||||||
			pw_log_error("pa_stream_peek() failed: %s",
 | 
								pw_log_error("pa_stream_peek() failed: %s",
 | 
				
			||||||
					pa_strerror(pa_context_errno(impl->pa_context)));
 | 
										pa_strerror(pa_context_errno(impl->pa_context)));
 | 
				
			||||||
			return;
 | 
								return;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue