mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	audioconvert: add softMute to PropInfo
So that it can be introspected. Fixes #1613
This commit is contained in:
		
							parent
							
								
									a2202de679
								
							
						
					
					
						commit
						d04244abb9
					
				
					 1 changed files with 9 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -431,6 +431,13 @@ static int impl_node_enum_params(void *object, int seq,
 | 
			
		|||
				SPA_PROP_INFO_container, SPA_POD_Id(SPA_TYPE_Array));
 | 
			
		||||
			break;
 | 
			
		||||
		case 4:
 | 
			
		||||
			param = spa_pod_builder_add_object(&b,
 | 
			
		||||
				SPA_TYPE_OBJECT_PropInfo, id,
 | 
			
		||||
				SPA_PROP_INFO_id,   SPA_POD_Id(SPA_PROP_softMute),
 | 
			
		||||
				SPA_PROP_INFO_name, SPA_POD_String("Soft Mute"),
 | 
			
		||||
				SPA_PROP_INFO_type, SPA_POD_CHOICE_Bool(p->soft.mute));
 | 
			
		||||
			break;
 | 
			
		||||
		case 5:
 | 
			
		||||
			param = spa_pod_builder_add_object(&b,
 | 
			
		||||
				SPA_TYPE_OBJECT_PropInfo, id,
 | 
			
		||||
				SPA_PROP_INFO_id,   SPA_POD_Id(SPA_PROP_softVolumes),
 | 
			
		||||
| 
						 | 
				
			
			@ -438,14 +445,14 @@ static int impl_node_enum_params(void *object, int seq,
 | 
			
		|||
				SPA_PROP_INFO_type, SPA_POD_CHOICE_RANGE_Float(p->volume, 0.0, 10.0),
 | 
			
		||||
				SPA_PROP_INFO_container, SPA_POD_Id(SPA_TYPE_Array));
 | 
			
		||||
			break;
 | 
			
		||||
		case 5:
 | 
			
		||||
		case 6:
 | 
			
		||||
			param = spa_pod_builder_add_object(&b,
 | 
			
		||||
				SPA_TYPE_OBJECT_PropInfo, id,
 | 
			
		||||
				SPA_PROP_INFO_id,   SPA_POD_Id(SPA_PROP_monitorMute),
 | 
			
		||||
				SPA_PROP_INFO_name, SPA_POD_String("Monitor Mute"),
 | 
			
		||||
				SPA_PROP_INFO_type, SPA_POD_CHOICE_Bool(p->monitor.mute));
 | 
			
		||||
			break;
 | 
			
		||||
		case 6:
 | 
			
		||||
		case 7:
 | 
			
		||||
			param = spa_pod_builder_add_object(&b,
 | 
			
		||||
				SPA_TYPE_OBJECT_PropInfo, id,
 | 
			
		||||
				SPA_PROP_INFO_id,   SPA_POD_Id(SPA_PROP_monitorVolumes),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue