mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	device: fix call to enum_params, we need to pass data
This commit is contained in:
		
							parent
							
								
									e72129b9ca
								
							
						
					
					
						commit
						b79e63cded
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -335,7 +335,7 @@ static int device_subscribe_params(void *object, uint32_t *ids, uint32_t n_ids)
 | 
				
			||||||
		pw_log_debug(NAME" %p: resource %p subscribe param %s",
 | 
							pw_log_debug(NAME" %p: resource %p subscribe param %s",
 | 
				
			||||||
				data->device, resource,
 | 
									data->device, resource,
 | 
				
			||||||
				spa_debug_type_find_name(spa_type_param, ids[i]));
 | 
									spa_debug_type_find_name(spa_type_param, ids[i]));
 | 
				
			||||||
		device_enum_params(resource, 1, ids[i], 0, UINT32_MAX, NULL);
 | 
							device_enum_params(data, 1, ids[i], 0, UINT32_MAX, NULL);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	return 0;
 | 
						return 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue