mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	module-loopback: copy name and description
Also copy name and description to streams when speficified globally.
This commit is contained in:
		
							parent
							
								
									ab7bc6ed27
								
							
						
					
					
						commit
						d560628e2a
					
				
					 1 changed files with 9 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -48,6 +48,8 @@ static const struct spa_dict_item module_props[] = {
 | 
			
		|||
	{ PW_KEY_MODULE_DESCRIPTION, "Create loopback streams" },
 | 
			
		||||
	{ PW_KEY_MODULE_USAGE, " [ remote.name=<remote> ] "
 | 
			
		||||
				"[ node.latency=<latency as fraction> ] "
 | 
			
		||||
				"[ node.name=<name of the nodes> ] "
 | 
			
		||||
				"[ node.description=<description of the nodes> ] "
 | 
			
		||||
				"[ audio.rate=<sample rate> ] "
 | 
			
		||||
				"[ audio.channels=<number of channels> ] "
 | 
			
		||||
				"[ audio.position=<channel map> ] "
 | 
			
		||||
| 
						 | 
				
			
			@ -398,6 +400,8 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
 | 
			
		|||
	copy_props(impl, props, PW_KEY_AUDIO_RATE);
 | 
			
		||||
	copy_props(impl, props, PW_KEY_AUDIO_CHANNELS);
 | 
			
		||||
	copy_props(impl, props, SPA_KEY_AUDIO_POSITION);
 | 
			
		||||
	copy_props(impl, props, PW_KEY_NODE_NAME);
 | 
			
		||||
	copy_props(impl, props, PW_KEY_NODE_DESCRIPTION);
 | 
			
		||||
	copy_props(impl, props, PW_KEY_NODE_GROUP);
 | 
			
		||||
	copy_props(impl, props, PW_KEY_NODE_LATENCY);
 | 
			
		||||
	copy_props(impl, props, PW_KEY_NODE_VIRTUAL);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue