diff options
author | Chan-yeol Park <chanyeol.park@samsung.com> | 2012-10-09 20:35:45 +0900 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2013-01-09 14:30:14 +0000 |
commit | 49a69e394ab9ea5c258cd0163ee926309d49a176 (patch) | |
tree | 88220432c3dc5ef185e6d89140205c0f7d028091 | |
parent | e5a5d179da15fccd4e40940bd785eafa49f7aa01 (diff) | |
download | gstreamer-plugins-bad-49a69e394ab9ea5c258cd0163ee926309d49a176.tar.gz |
bluez: avinfo: Replace definitions with a2dp-codecs.h's
-rw-r--r-- | sys/bluez/a2dp-codecs.h | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/sys/bluez/a2dp-codecs.h b/sys/bluez/a2dp-codecs.h index 2afafa518..3dc31cbf9 100644 --- a/sys/bluez/a2dp-codecs.h +++ b/sys/bluez/a2dp-codecs.h @@ -49,6 +49,9 @@ #define SBC_ALLOCATION_SNR (1 << 1) #define SBC_ALLOCATION_LOUDNESS 1 +#define MAX_BITPOOL 64 +#define MIN_BITPOOL 2 + #define MPEG_CHANNEL_MODE_MONO (1 << 3) #define MPEG_CHANNEL_MODE_DUAL_CHANNEL (1 << 2) #define MPEG_CHANNEL_MODE_STEREO (1 << 1) @@ -65,8 +68,22 @@ #define MPEG_SAMPLING_FREQ_44100 (1 << 1) #define MPEG_SAMPLING_FREQ_48000 1 -#define MAX_BITPOOL 64 -#define MIN_BITPOOL 2 +#define MPEG_BIT_RATE_VBR 0x8000 +#define MPEG_BIT_RATE_320000 0x4000 +#define MPEG_BIT_RATE_256000 0x2000 +#define MPEG_BIT_RATE_224000 0x1000 +#define MPEG_BIT_RATE_192000 0x0800 +#define MPEG_BIT_RATE_160000 0x0400 +#define MPEG_BIT_RATE_128000 0x0200 +#define MPEG_BIT_RATE_112000 0x0100 +#define MPEG_BIT_RATE_96000 0x0080 +#define MPEG_BIT_RATE_80000 0x0040 +#define MPEG_BIT_RATE_64000 0x0020 +#define MPEG_BIT_RATE_56000 0x0010 +#define MPEG_BIT_RATE_48000 0x0008 +#define MPEG_BIT_RATE_40000 0x0004 +#define MPEG_BIT_RATE_32000 0x0002 +#define MPEG_BIT_RATE_FREE 0x0001 #if __BYTE_ORDER == __LITTLE_ENDIAN |