mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	bluetooth: Remove commented out code.
This commit is contained in:
		
							parent
							
								
									75df8714d7
								
							
						
					
					
						commit
						1f1db97b65
					
				
					 1 changed files with 0 additions and 9 deletions
				
			
		| 
						 | 
					@ -86,15 +86,6 @@ static pa_hook_result_t load_module_for_device(pa_bluetooth_discovery *y, const
 | 
				
			||||||
            /* Oh, awesome, a new device has shown up and been connected! */
 | 
					            /* Oh, awesome, a new device has shown up and been connected! */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            args = pa_sprintf_malloc("address=\"%s\" path=\"%s\"", d->address, d->path);
 | 
					            args = pa_sprintf_malloc("address=\"%s\" path=\"%s\"", d->address, d->path);
 | 
				
			||||||
#if 0
 | 
					 | 
				
			||||||
            /* This is in case we have to use hsp immediately, without waiting for .Audio.State = Connected */
 | 
					 | 
				
			||||||
            if (d->headset_state >= PA_BT_AUDIO_STATE_CONNECTED && somecondition) {
 | 
					 | 
				
			||||||
                char *tmp;
 | 
					 | 
				
			||||||
                tmp = pa_sprintf_malloc("%s profile=\"hsp\"", args);
 | 
					 | 
				
			||||||
                pa_xfree(args);
 | 
					 | 
				
			||||||
                args = tmp;
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if (pa_modargs_get_value(u->modargs, "sco_sink", NULL) &&
 | 
					            if (pa_modargs_get_value(u->modargs, "sco_sink", NULL) &&
 | 
				
			||||||
                pa_modargs_get_value(u->modargs, "sco_source", NULL)) {
 | 
					                pa_modargs_get_value(u->modargs, "sco_source", NULL)) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue