aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Lübbe <jluebbe@debian.org>2009-02-19 18:28:52 +0000
committerJan Luebbe <jluebbe@debian.org>2009-03-25 15:58:51 +0100
commit35c4ca47ee942ead5e6180926d6ac47929d73b94 (patch)
tree276ed629b49f7e6fbc729c18ae5e7116494acb36
parent2c13161ecd75fc6a1e3099cb28f60401eace362d (diff)
downloadopenembedded-35c4ca47ee942ead5e6180926d6ac47929d73b94.tar.gz
bluez4: set SCORouting to PCM for om-gta02
-rw-r--r--recipes/bluez/bluez4/set-scorouting-to-pcm.patch25
-rw-r--r--recipes/bluez/bluez4_4.31.bb6
2 files changed, 30 insertions, 1 deletions
diff --git a/recipes/bluez/bluez4/set-scorouting-to-pcm.patch b/recipes/bluez/bluez4/set-scorouting-to-pcm.patch
new file mode 100644
index 0000000000..107145a68f
--- /dev/null
+++ b/recipes/bluez/bluez4/set-scorouting-to-pcm.patch
@@ -0,0 +1,25 @@
+From 42094659e2631cfb154690cefd8925b03e1984a3 Mon Sep 17 00:00:00 2001
+From: Jan Luebbe <jluebbe@debian.org>
+Date: Thu, 19 Feb 2009 17:06:10 +0100
+Subject: [PATCH] Set SCORouting to PCM
+
+---
+ audio/audio.conf | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/audio/audio.conf b/audio/audio.conf
+index 33a84e1..7b30f05 100644
+--- a/audio/audio.conf
++++ b/audio/audio.conf
+@@ -13,7 +13,7 @@
+
+ # SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA)
+ # Defaults to HCI
+-#SCORouting=PCM
++SCORouting=PCM
+
+ # Headset interface specific options (i.e. options which affect how the audio
+ # service interacts with remote headset devices)
+--
+1.5.6.5
+
diff --git a/recipes/bluez/bluez4_4.31.bb b/recipes/bluez/bluez4_4.31.bb
index 15e8b00ef5..8f2131690b 100644
--- a/recipes/bluez/bluez4_4.31.bb
+++ b/recipes/bluez/bluez4_4.31.bb
@@ -4,7 +4,7 @@ PRIORITY = "optional"
DEPENDS = "gst-plugins-base alsa-lib libusb-compat dbus-glib"
HOMEPAGE = "http://www.bluez.org"
LICENSE = "GPL"
-PR = "r4"
+PR = "r5"
SRC_URI = "\
http://www.kernel.org/pub/linux/bluetooth/bluez-${PV}.tar.gz \
@@ -12,6 +12,10 @@ SRC_URI = "\
file://sbc-thumb.patch;patch=1 \
# file://hid2hci_usb_init.patch;patch=1 \
"
+
+# TODO use MACHINE specific variables to generate the config files
+SRC_URI_append_om-gta02 = " file://set-scorouting-to-pcm.patch;patch=1"
+
S = "${WORKDIR}/bluez-${PV}"
inherit autotools pkgconfig