From 62f181aa2834ceea1d759e75d59c4feae0f9b9f7 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Thu, 31 Mar 2011 00:56:20 +0530 Subject: 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. --- src/modules/bluetooth/ipc.h | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'src/modules/bluetooth/ipc.h') 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; -- cgit