mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-20 00:11:31 +00:00
bluez5: update fastream caps from bluez
This commit is contained in:
parent
b368bea98c
commit
c628975a75
|
@ -196,6 +196,17 @@
|
||||||
#define LDAC_SAMPLING_FREQ_176400 0x02
|
#define LDAC_SAMPLING_FREQ_176400 0x02
|
||||||
#define LDAC_SAMPLING_FREQ_192000 0x01
|
#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 {
|
typedef struct {
|
||||||
uint32_t vendor_id;
|
uint32_t vendor_id;
|
||||||
uint16_t codec_id;
|
uint16_t codec_id;
|
||||||
|
@ -261,6 +272,13 @@ typedef struct {
|
||||||
uint8_t reserved:6;
|
uint8_t reserved:6;
|
||||||
} __attribute__ ((packed)) a2dp_aptx_ll_t;
|
} __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
|
#elif __BYTE_ORDER == __BIG_ENDIAN
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
@ -315,6 +333,13 @@ typedef struct {
|
||||||
uint8_t bidirect_link:1;
|
uint8_t bidirect_link:1;
|
||||||
} __attribute__ ((packed)) a2dp_aptx_ll_t;
|
} __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
|
#else
|
||||||
#error "Unknown byte order"
|
#error "Unknown byte order"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue