mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Warn on loading module-dbus-protocol
See also https://www.mail-archive.com/ubuntu-audio-dev@lists.launchpad.net/msg00268.html The warning may be useful for users who carried over the module-loading statement from default configuration files shipped with old PulseAudio versions. Signed-off-by: Alexander E. Patrakov <patrakov@gmail.com>
This commit is contained in:
		
							parent
							
								
									162adb9873
								
							
						
					
					
						commit
						e2a433b222
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -529,6 +529,11 @@ int pa__init(pa_module *m) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    pa_assert(m);
 | 
					    pa_assert(m);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    pa_log_warn("module-dbus-protocol is currently unsupported, and can sometimes cause PulseAudio crashes.");
 | 
				
			||||||
 | 
					    pa_log_warn("The most popular use cases for module-dbus-protocol are related to changing "
 | 
				
			||||||
 | 
					                "equalizer settings and LADSPA plugin parameters at runtime.");
 | 
				
			||||||
 | 
					    pa_log_warn("If you don't use such functionality, it's possible that you don't actually need this module.");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (!(ma = pa_modargs_new(m->argument, valid_modargs))) {
 | 
					    if (!(ma = pa_modargs_new(m->argument, valid_modargs))) {
 | 
				
			||||||
        pa_log("Failed to parse module arguments.");
 | 
					        pa_log("Failed to parse module arguments.");
 | 
				
			||||||
        goto fail;
 | 
					        goto fail;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue