mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	bluez5: make room for a2dp duplex channel
Some non-standard A2DP codecs (FastStream/aptX-LL) have "voice duplex channel" that can be used to provide an A2DP duplex mode. Add support for duplex channels, accounting for the fact that the two directions may be encoded with different actual codecs.
This commit is contained in:
		
							parent
							
								
									4ab8ecfe06
								
							
						
					
					
						commit
						eca37b58a6
					
				
					 3 changed files with 82 additions and 28 deletions
				
			
		| 
						 | 
				
			
			@ -355,6 +355,8 @@ struct a2dp_codec {
 | 
			
		|||
 | 
			
		||||
	const size_t send_buf_size;
 | 
			
		||||
 | 
			
		||||
	const struct a2dp_codec *duplex_codec;	/**< Codec for non-standard A2DP duplex channel */
 | 
			
		||||
 | 
			
		||||
	int (*fill_caps) (const struct a2dp_codec *codec, uint32_t flags,
 | 
			
		||||
			uint8_t caps[A2DP_MAX_CAPS_SIZE]);
 | 
			
		||||
	int (*select_config) (const struct a2dp_codec *codec, uint32_t flags,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue