mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	alsa: avoid loading the plugin when linked against 0.2
chromium is linked against 0.2, avoid trying to load the alsa plugin that is linked against 0.3 See #275
This commit is contained in:
		
							parent
							
								
									a652edce0a
								
							
						
					
					
						commit
						368366b88d
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -984,6 +984,8 @@ SND_PCM_PLUGIN_DEFINE_FUNC(pipewire)
 | 
				
			||||||
	int err;
 | 
						int err;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	pw_init(NULL, NULL);
 | 
						pw_init(NULL, NULL);
 | 
				
			||||||
 | 
						if (strstr(pw_get_library_version(), "0.2") != NULL)
 | 
				
			||||||
 | 
							return -ENOTSUP;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	snd_config_for_each(i, next, conf) {
 | 
						snd_config_for_each(i, next, conf) {
 | 
				
			||||||
		snd_config_t *n = snd_config_iterator_entry(i);
 | 
							snd_config_t *n = snd_config_iterator_entry(i);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue