summaryrefslogtreecommitdiffstats
path: root/src/modules/bluetooth/ipc.h
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2011-03-31 00:56:20 +0530
committerColin Guthrie <colin@mageia.org>2011-03-31 11:04:39 +0100
commit62f181aa2834ceea1d759e75d59c4feae0f9b9f7 (patch)
tree684f3406cdb56cfd1e49ed2e42ccbe8ee1abb0d8 /src/modules/bluetooth/ipc.h
parentfce93eb6254a12ff16b20426017efd540b982ef7 (diff)
bluetooth: Pull a2dp-codecs.h from BlueZ
This pulls a2dp-codecs.h from BlueZ which contains the capabilities structures for SBC and MPEG. We currently have these manually added to ipc.h, so pulling this header makes our files identical to upstream.
Diffstat (limited to 'src/modules/bluetooth/ipc.h')
-rw-r--r--src/modules/bluetooth/ipc.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/modules/bluetooth/ipc.h b/src/modules/bluetooth/ipc.h
index 4547168b..d69b97e4 100644
--- a/src/modules/bluetooth/ipc.h
+++ b/src/modules/bluetooth/ipc.h
@@ -202,34 +202,6 @@ typedef struct {
uint8_t max_bitpool;
} __attribute__ ((packed)) sbc_capabilities_t;
-#if __BYTE_ORDER == __LITTLE_ENDIAN
-
-typedef struct {
- uint8_t channel_mode:4;
- uint8_t frequency:4;
- uint8_t allocation_method:2;
- uint8_t subbands:2;
- uint8_t block_length:4;
- uint8_t min_bitpool;
- uint8_t max_bitpool;
-} __attribute__ ((packed)) sbc_capabilities_raw_t;
-
-#elif __BYTE_ORDER == __BIG_ENDIAN
-
-typedef struct {
- uint8_t frequency:4;
- uint8_t channel_mode:4;
- uint8_t block_length:4;
- uint8_t subbands:2;
- uint8_t allocation_method:2;
- uint8_t min_bitpool;
- uint8_t max_bitpool;
-} __attribute__ ((packed)) sbc_capabilities_raw_t;
-
-#else
-#error "Unknown byte order"
-#endif
-
typedef struct {
codec_capabilities_t capability;
uint8_t channel_mode;