mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	bluez5: update fastream caps from bluez
This commit is contained in:
		
							parent
							
								
									b368bea98c
								
							
						
					
					
						commit
						c628975a75
					
				
					 1 changed files with 25 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -196,6 +196,17 @@
 | 
			
		|||
#define LDAC_SAMPLING_FREQ_176400	0x02
 | 
			
		||||
#define LDAC_SAMPLING_FREQ_192000	0x01
 | 
			
		||||
 | 
			
		||||
#define FASTSTREAM_VENDOR_ID            0x0000000a
 | 
			
		||||
#define FASTSTREAM_CODEC_ID             0x0001
 | 
			
		||||
 | 
			
		||||
#define FASTSTREAM_DIRECTION_SINK       0x1
 | 
			
		||||
#define FASTSTREAM_DIRECTION_SOURCE     0x2
 | 
			
		||||
 | 
			
		||||
#define FASTSTREAM_SINK_SAMPLING_FREQ_44100     0x2
 | 
			
		||||
#define FASTSTREAM_SINK_SAMPLING_FREQ_48000     0x1
 | 
			
		||||
 | 
			
		||||
#define FASTSTREAM_SOURCE_SAMPLING_FREQ_16000   0x2
 | 
			
		||||
 | 
			
		||||
typedef struct {
 | 
			
		||||
	uint32_t vendor_id;
 | 
			
		||||
	uint16_t codec_id;
 | 
			
		||||
| 
						 | 
				
			
			@ -261,6 +272,13 @@ typedef struct {
 | 
			
		|||
        uint8_t reserved:6;
 | 
			
		||||
} __attribute__ ((packed)) a2dp_aptx_ll_t;
 | 
			
		||||
 | 
			
		||||
typedef struct {
 | 
			
		||||
        a2dp_vendor_codec_t info;
 | 
			
		||||
        uint8_t direction;
 | 
			
		||||
        uint8_t sink_frequency:4;
 | 
			
		||||
        uint8_t source_frequency:4;
 | 
			
		||||
} __attribute__ ((packed)) a2dp_faststream_t;
 | 
			
		||||
 | 
			
		||||
#elif __BYTE_ORDER == __BIG_ENDIAN
 | 
			
		||||
 | 
			
		||||
typedef struct {
 | 
			
		||||
| 
						 | 
				
			
			@ -315,6 +333,13 @@ typedef struct {
 | 
			
		|||
        uint8_t bidirect_link:1;
 | 
			
		||||
} __attribute__ ((packed)) a2dp_aptx_ll_t;
 | 
			
		||||
 | 
			
		||||
typedef struct {
 | 
			
		||||
        a2dp_vendor_codec_t info;
 | 
			
		||||
        uint8_t direction;
 | 
			
		||||
        uint8_t source_frequency:4;
 | 
			
		||||
        uint8_t sink_frequency:4;
 | 
			
		||||
} __attribute__ ((packed)) a2dp_faststream_t;
 | 
			
		||||
 | 
			
		||||
#else
 | 
			
		||||
#error "Unknown byte order"
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue