mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	bluetooth: Add currently active codec name to card/sink/source proplist
This exposes the currently active codec on the source or sink via the proplist and can be seen in output of pacmd list-sinks/list-sources. Also set it on the card. In case of a bi-directional codec, the codec for the sink and source could be different. For example, for aptX-LL, the codec name on card, sink and source would be aptx-ll, aptx and sbc respectively. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/440>
This commit is contained in:
		
							parent
							
								
									2fea838e50
								
							
						
					
					
						commit
						4ce996b74a
					
				
					 2 changed files with 14 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -270,6 +270,9 @@ PA_C_DECL_BEGIN
 | 
			
		|||
/** For context: whether to forcefully disable data transfer via POSIX or memfd shared memory. This property overrides any other client configuration which would otherwise enable SHM communication channels. \since 15.0 */
 | 
			
		||||
#define PA_PROP_CONTEXT_FORCE_DISABLE_SHM      "context.force.disable.shm"
 | 
			
		||||
 | 
			
		||||
/** For a bluez device: the currently selected codec name. \since 15.0 */
 | 
			
		||||
#define PA_PROP_BLUETOOTH_CODEC                "bluetooth.codec"
 | 
			
		||||
 | 
			
		||||
/** A property list object. Basically a dictionary with ASCII strings
 | 
			
		||||
 * as keys and arbitrary data as values. \since 0.9.11 */
 | 
			
		||||
typedef struct pa_proplist pa_proplist;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue