mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	
							parent
							
								
									750b4cdf7a
								
							
						
					
					
						commit
						4574678424
					
				
					 2 changed files with 10 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -159,14 +159,15 @@ context.modules = [
 | 
			
		|||
    { name = libpipewire-module-session-manager }
 | 
			
		||||
 | 
			
		||||
    # Use libcanberra to play X11 Bell
 | 
			
		||||
    #{ name = libpipewire-module-x11-bell
 | 
			
		||||
    #  args = {
 | 
			
		||||
    #      #sink.name = "@DEFAULT_SINK@"
 | 
			
		||||
    #      #sample.name = "bell-window-system"
 | 
			
		||||
    #      #x11.display = null
 | 
			
		||||
    #      #x11.xauthority = null
 | 
			
		||||
    #  }
 | 
			
		||||
    #}
 | 
			
		||||
    { name = libpipewire-module-x11-bell
 | 
			
		||||
        args = {
 | 
			
		||||
            #sink.name = "@DEFAULT_SINK@"
 | 
			
		||||
            #sample.name = "bell-window-system"
 | 
			
		||||
            #x11.display = null
 | 
			
		||||
            #x11.xauthority = null
 | 
			
		||||
        }
 | 
			
		||||
        flags = [ ifexists nofail ]
 | 
			
		||||
    }
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
context.objects = [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -109,7 +109,7 @@ static int play_sample(struct impl *impl)
 | 
			
		|||
	if (sample == NULL)
 | 
			
		||||
		sample = "bell-window-system";
 | 
			
		||||
 | 
			
		||||
	pw_log_debug("play sample %s", sample);
 | 
			
		||||
	pw_log_info("play sample %s", sample);
 | 
			
		||||
 | 
			
		||||
	if ((res = ca_context_create(&ca)) < 0) {
 | 
			
		||||
		pw_log_error("canberra context create error: %s", ca_strerror(res));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue