mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	revise form factor list a bit, simplify and use singular everywhere
This commit is contained in:
		
							parent
							
								
									e00833399f
								
							
						
					
					
						commit
						cce56ab343
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -811,8 +811,8 @@ const char*pa_bluetooth_get_form_factor(uint32_t class) {
 | 
			
		|||
        [1] = "headset",
 | 
			
		||||
        [2] = "hands-free",
 | 
			
		||||
        [4] = "microphone",
 | 
			
		||||
        [5] = "external-speakers",
 | 
			
		||||
        [6] = "headphones",
 | 
			
		||||
        [5] = "speaker",
 | 
			
		||||
        [6] = "headphone",
 | 
			
		||||
        [7] = "portable",
 | 
			
		||||
        [8] = "car",
 | 
			
		||||
        [10] = "hifi"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -165,7 +165,7 @@ PA_C_DECL_BEGIN
 | 
			
		|||
/** For devices: device class. One of "sound", "modem", "monitor", "filter" */
 | 
			
		||||
#define PA_PROP_DEVICE_CLASS                   "device.class"
 | 
			
		||||
 | 
			
		||||
/** For devices: form factor if applicable. One of "internal-speakers", "external-speakers", "handset", "tv-capture", "webcam", "microphone", "headset", "headphones", "hands-free", "car", "hifi", "computer", "portable" */
 | 
			
		||||
/** For devices: form factor if applicable. One of "internal", "speaker", "handset", "tv", "webcam", "microphone", "headset", "headphone", "hands-free", "car", "hifi", "computer", "portable" */
 | 
			
		||||
#define PA_PROP_DEVICE_FORM_FACTOR             "device.form_factor"
 | 
			
		||||
 | 
			
		||||
/** For devices: connector of the device if applicable. One of "isa", "pci", "usb", "firewire", "bluetooth" */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue