mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	make some warnings into log
Move some warnings when a wakeup was missed to info messages. The warning can repeat a lot and is otherwise quite useless and already reported elsewhere.
This commit is contained in:
		
							parent
							
								
									c20f22466e
								
							
						
					
					
						commit
						fbef731793
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -1279,7 +1279,7 @@ static inline uint32_t cycle_run(struct client *c)
 | 
				
			||||||
		break;
 | 
							break;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	if (SPA_UNLIKELY(cmd > 1))
 | 
						if (SPA_UNLIKELY(cmd > 1))
 | 
				
			||||||
		pw_log_warn("%p: missed %"PRIu64" wakeups", c, cmd - 1);
 | 
							pw_log_info("%p: missed %"PRIu64" wakeups", c, cmd - 1);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	clock_gettime(CLOCK_MONOTONIC, &ts);
 | 
						clock_gettime(CLOCK_MONOTONIC, &ts);
 | 
				
			||||||
	activation->status = PW_NODE_ACTIVATION_AWAKE;
 | 
						activation->status = PW_NODE_ACTIVATION_AWAKE;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1144,7 +1144,7 @@ static void node_on_data_fd_events(struct spa_source *source)
 | 
				
			||||||
					this->data_source.fd, &cmd) < 0))
 | 
										this->data_source.fd, &cmd) < 0))
 | 
				
			||||||
			pw_log_warn("%p: read failed %m", this);
 | 
								pw_log_warn("%p: read failed %m", this);
 | 
				
			||||||
		else if (SPA_UNLIKELY(cmd > 1))
 | 
							else if (SPA_UNLIKELY(cmd > 1))
 | 
				
			||||||
			pw_log_warn("(%s-%u) client missed %"PRIu64" wakeups",
 | 
								pw_log_info("(%s-%u) client missed %"PRIu64" wakeups",
 | 
				
			||||||
				node->name, node->info.id, cmd - 1);
 | 
									node->name, node->info.id, cmd - 1);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		spa_log_trace_fp(this->log, "%p: got ready", this);
 | 
							spa_log_trace_fp(this->log, "%p: got ready", this);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue