mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	bluetooth: Move profile_to_string() to bluetooth-util
Move the function to the utility library where the enum is defined. At same time avoid using the default clause in order to make sure the compiler will complain if the enum type gets extended.
This commit is contained in:
		
							parent
							
								
									d6d6770a04
								
							
						
					
					
						commit
						f5a4626ffb
					
				
					 3 changed files with 22 additions and 19 deletions
				
			
		| 
						 | 
				
			
			@ -162,5 +162,6 @@ char *pa_bluetooth_cleanup_name(const char *name);
 | 
			
		|||
 | 
			
		||||
pa_bool_t pa_bluetooth_uuid_has(pa_bluetooth_uuid *uuids, const char *uuid);
 | 
			
		||||
pa_bt_audio_state_t pa_bt_audio_state_from_string(const char* value);
 | 
			
		||||
const char *pa_bt_profile_to_string(enum profile profile);
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue