From: Chan-yeol Park Date: Tue, 9 Oct 2012 11:35:45 +0000 (+0900) Subject: bluez: avinfo: Replace definitions with a2dp-codecs.h's X-Git-Tag: 1.19.3~507^2~14177 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=49a69e394ab9ea5c258cd0163ee926309d49a176;p=platform%2Fupstream%2Fgstreamer.git bluez: avinfo: Replace definitions with a2dp-codecs.h's --- diff --git a/sys/bluez/a2dp-codecs.h b/sys/bluez/a2dp-codecs.h index 2afafa5..3dc31cb 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