summaryrefslogtreecommitdiff
authorjiamin.miao <jiamin.miao@amlogic.com>2013-06-08 10:42:22 (GMT)
committer jiamin.miao <jiamin.miao@amlogic.com>2013-06-08 10:46:48 (GMT)
commit3bc5ab1fd9625572c1d43a0f4ad1c9b6de891ce6 (patch)
tree3f5d65842318b309db496567d50cb841fb34a7af
parent5c85dac6030b183454d1ecf0a8455e8be60f4131 (diff)
downloadlibbt-3bc5ab1fd9625572c1d43a0f4ad1c9b6de891ce6.zip
libbt-3bc5ab1fd9625572c1d43a0f4ad1c9b6de891ce6.tar.gz
libbt-3bc5ab1fd9625572c1d43a0f4ad1c9b6de891ce6.tar.bz2
add pcm config for mx
Diffstat
-rwxr-xr-xinclude/bt_vendor_brcm.h12
-rwxr-xr-xinclude/vnd_40183.txt2
-rwxr-xr-xinclude/vnd_40183_lpm.txt2
3 files changed, 8 insertions, 8 deletions
diff --git a/include/bt_vendor_brcm.h b/include/bt_vendor_brcm.h
index fb26dda..b8b693b 100755
--- a/include/bt_vendor_brcm.h
+++ b/include/bt_vendor_brcm.h
@@ -283,22 +283,22 @@
4 : 2048K
*/
#ifndef SCO_PCM_IF_CLOCK_RATE
-#define SCO_PCM_IF_CLOCK_RATE 4
+#define SCO_PCM_IF_CLOCK_RATE 0
#endif
/* SCO_PCM_IF_FRAME_TYPE - 0=Short, 1=Long */
#ifndef SCO_PCM_IF_FRAME_TYPE
-#define SCO_PCM_IF_FRAME_TYPE 0
+#define SCO_PCM_IF_FRAME_TYPE 1
#endif
/* SCO_PCM_IF_SYNC_MODE - 0=Slave, 1=Master */
#ifndef SCO_PCM_IF_SYNC_MODE
-#define SCO_PCM_IF_SYNC_MODE 0
+#define SCO_PCM_IF_SYNC_MODE 1
#endif
/* SCO_PCM_IF_CLOCK_MODE - 0=Slave, 1=Master */
#ifndef SCO_PCM_IF_CLOCK_MODE
-#define SCO_PCM_IF_CLOCK_MODE 0
+#define SCO_PCM_IF_CLOCK_MODE 1
#endif
#define PCM_DATA_FORMAT_PARAM_SIZE 5
@@ -318,7 +318,7 @@
if Fill_Method is set to programmable
*/
#ifndef PCM_DATA_FMT_FILL_BITS
-#define PCM_DATA_FMT_FILL_BITS 0
+#define PCM_DATA_FMT_FILL_BITS 3
#endif
/* PCM_DATA_FMT_FILL_METHOD
@@ -337,7 +337,7 @@
Specifies the number of bits to be filled
*/
#ifndef PCM_DATA_FMT_FILL_NUM
-#define PCM_DATA_FMT_FILL_NUM 3
+#define PCM_DATA_FMT_FILL_NUM 0
#endif
/* PCM_DATA_FMT_JUSTIFY_MODE
diff --git a/include/vnd_40183.txt b/include/vnd_40183.txt
index a4433c8..8fcd608 100755
--- a/include/vnd_40183.txt
+++ b/include/vnd_40183.txt
@@ -2,7 +2,7 @@ BLUETOOTH_UART_DEVICE_PORT = "/dev/ttyS1"
FW_PATCHFILE_LOCATION = "/etc/bluetooth/"
BT_WAKE_VIA_USERIAL_IOCTL = FALSE
LPM_IDLE_TIMEOUT_MULTIPLE = 5
-SCO_USE_I2S_INTERFACE = TRUE
+SCO_USE_I2S_INTERFACE = FALSE
BTVND_DBG = FALSE
BTHW_DBG = TRUE
VNDUSERIAL_DBG = FALSE
diff --git a/include/vnd_40183_lpm.txt b/include/vnd_40183_lpm.txt
index dbf7fbc..3ba3141 100755
--- a/include/vnd_40183_lpm.txt
+++ b/include/vnd_40183_lpm.txt
@@ -4,7 +4,7 @@ BT_WAKE_VIA_PROC = TRUE
BT_WAKE_VIA_USERIAL_IOCTL = FALSE
LPM_SLEEP_MODE = 1
LPM_IDLE_TIMEOUT_MULTIPLE = 5
-SCO_USE_I2S_INTERFACE = TRUE
+SCO_USE_I2S_INTERFACE = FALSE
BTVND_DBG = FALSE
BTHW_DBG = TRUE
VNDUSERIAL_DBG = FALSE