mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pw-top: clear measurements when idle
This commit is contained in:
		
							parent
							
								
									ae8c6f827b
								
							
						
					
					
						commit
						be11da540a
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
					@ -300,8 +300,11 @@ static void do_refresh(struct data *d)
 | 
				
			||||||
			break;
 | 
								break;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		spa_list_for_each(f, &d->node_list, link) {
 | 
							spa_list_for_each(f, &d->node_list, link) {
 | 
				
			||||||
			if (d->generation > f->generation + 2)
 | 
								if (d->generation > f->generation + 2) {
 | 
				
			||||||
				f->driver = f;
 | 
									f->driver = f;
 | 
				
			||||||
 | 
									spa_zero(f->measurement);
 | 
				
			||||||
 | 
									spa_zero(f->info);
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			if (f->driver != n || f == n)
 | 
								if (f->driver != n || f == n)
 | 
				
			||||||
				continue;
 | 
									continue;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue