summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-09-03 14:28:16 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-09-03 14:28:16 +0000
commitfbbff3590008d401407127f1b25a564ef22ac882 (patch)
treead0fb0679ce8050a07007298af11635a0c69a39c /net-wireless/bluez-utils/files
parentVersion bump. (diff)
downloadgentoo-2-fbbff3590008d401407127f1b25a564ef22ac882.tar.gz
gentoo-2-fbbff3590008d401407127f1b25a564ef22ac882.tar.bz2
gentoo-2-fbbff3590008d401407127f1b25a564ef22ac882.zip
Version bump.
(Portage version: 2.1.3.7)
Diffstat (limited to 'net-wireless/bluez-utils/files')
-rw-r--r--net-wireless/bluez-utils/files/3.18-a2dp.patch32
-rw-r--r--net-wireless/bluez-utils/files/digest-bluez-utils-3.183
2 files changed, 35 insertions, 0 deletions
diff --git a/net-wireless/bluez-utils/files/3.18-a2dp.patch b/net-wireless/bluez-utils/files/3.18-a2dp.patch
new file mode 100644
index 000000000000..166877129d3c
--- /dev/null
+++ b/net-wireless/bluez-utils/files/3.18-a2dp.patch
@@ -0,0 +1,32 @@
+Index: unix.c
+===================================================================
+RCS file: /cvsroot/bluez/utils/audio/unix.c,v
+retrieving revision 1.44
+diff -u -3 -p -u -r1.44 unix.c
+--- audio/unix.c 31 Aug 2007 11:51:43 -0000 1.44
++++ audio/unix.c 3 Sep 2007 13:21:12 -0000
+@@ -347,9 +347,23 @@ static void a2dp_setup_complete(struct a
+ cfg->fd_opt = CFG_FD_OPT_WRITE;
+
+ sbc_cap = (void *) codec_cap;
+- cfg->mode = sbc_cap->channel_mode;
+ cfg->sample_size = 2;
+
++ switch (sbc_cap->channel_mode) {
++ case A2DP_CHANNEL_MODE_MONO:
++ cfg->mode = CFG_MODE_MONO;
++ break;
++ case A2DP_CHANNEL_MODE_DUAL_CHANNEL:
++ cfg->mode = CFG_MODE_DUAL_CHANNEL;
++ break;
++ case A2DP_CHANNEL_MODE_STEREO:
++ cfg->mode = CFG_MODE_STEREO;
++ break;
++ case A2DP_CHANNEL_MODE_JOINT_STEREO:
++ cfg->mode = CFG_MODE_JOINT_STEREO;
++ break;
++ }
++
+ switch (sbc_cap->frequency) {
+ case A2DP_SAMPLING_FREQ_16000:
+ cfg->rate = 16000;
diff --git a/net-wireless/bluez-utils/files/digest-bluez-utils-3.18 b/net-wireless/bluez-utils/files/digest-bluez-utils-3.18
new file mode 100644
index 000000000000..99a541907c55
--- /dev/null
+++ b/net-wireless/bluez-utils/files/digest-bluez-utils-3.18
@@ -0,0 +1,3 @@
+MD5 2b6b4d519b8f75ef3990122934e660ba bluez-utils-3.18.tar.gz 887444
+RMD160 39da73962cfaa30dc1e3c0c5d636a2691b5659fb bluez-utils-3.18.tar.gz 887444
+SHA256 f8f242c6835ae826bf1f4eaee6c50d47d6208715e45450ba42c1769094c3f296 bluez-utils-3.18.tar.gz 887444