mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	module-pipe-tunnel: Initialize the target.node property
Initialize the PW_KEY_TARGET_OBJECT property on the stream node based on the user config.
This commit is contained in:
		
							parent
							
								
									e6fd5888ee
								
							
						
					
					
						commit
						315b2d1ad5
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -315,7 +315,7 @@ static const struct pw_stream_events capture_stream_events = {
 | 
			
		|||
	.process = capture_stream_process
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
static int create_stream(struct impl *impl)
 | 
			
		||||
static int  create_stream(struct impl *impl)
 | 
			
		||||
{
 | 
			
		||||
	int res;
 | 
			
		||||
	uint32_t n_params;
 | 
			
		||||
| 
						 | 
				
			
			@ -664,6 +664,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
 | 
			
		|||
	copy_props(impl, props, PW_KEY_NODE_LATENCY);
 | 
			
		||||
	copy_props(impl, props, PW_KEY_NODE_VIRTUAL);
 | 
			
		||||
	copy_props(impl, props, PW_KEY_MEDIA_CLASS);
 | 
			
		||||
	copy_props(impl, props, PW_KEY_TARGET_OBJECT);
 | 
			
		||||
 | 
			
		||||
	parse_audio_info(impl->stream_props, &impl->info);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue