mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-10-29 05:40:27 -04:00 
			
		
		
		
	alsa: fix compilation
This commit is contained in:
		
							parent
							
								
									e0bfd7421b
								
							
						
					
					
						commit
						6af85f2371
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1380,7 +1380,7 @@ SND_CTL_PLUGIN_DEFINE_FUNC(pipewire) | |||
| 
 | ||||
| 	str = getenv("PIPEWIRE_ALSA"); | ||||
| 	if (str != NULL) | ||||
| 		pw_properties_update_string(pw->props, str, strlen(str)); | ||||
| 		pw_properties_update_string(ctl->props, str, strlen(str)); | ||||
| 
 | ||||
| 	str = getenv("PIPEWIRE_REMOTE"); | ||||
| 	if (str != NULL && str[0] != '\0') | ||||
|  |  | |||
|  | @ -1160,7 +1160,7 @@ static int snd_pcm_pipewire_open(snd_pcm_t **pcmp, | |||
| 
 | ||||
| 	str = getenv("PIPEWIRE_REMOTE"); | ||||
| 	if (str != NULL && str[0]) | ||||
| 		pw_properties_set(ctl->props, PW_KEY_REMOTE_NAME, str); | ||||
| 		pw_properties_set(pw->props, PW_KEY_REMOTE_NAME, str); | ||||
| 
 | ||||
| 	node_name = pw_properties_get(pw->props, PW_KEY_NODE_NAME); | ||||
| 	if (pw_properties_get(pw->props, PW_KEY_MEDIA_NAME) == NULL) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Wim Taymans
						Wim Taymans