Home_greyBuild Service > Projects > home:brendan:branches:devel:multimedia > pulseaudio > Files > 0023-bluetooth-Fix-a2dp-processing.patch
Login

View File 0023-bluetooth-Fix-a2dp-processing.patch for package pulseaudio (Project home:brendan:branches:devel:multimedia)

From 01a853e0c0c85a9c41742d7b1427ce7a41cc3162 Mon Sep 17 00:00:00 2001
From: Maarten Lankhorst <m.b.lankhorst@gmail.com>
Date: Fri, 10 Dec 2010 20:34:05 +0100
Subject: [PATCH 023/232] bluetooth: Fix a2dp processing

---
 src/modules/bluetooth/module-bluetooth-device.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c
index c7ac7fa..6d31c1e 100644
--- a/src/modules/bluetooth/module-bluetooth-device.c
+++ b/src/modules/bluetooth/module-bluetooth-device.c
@@ -1529,7 +1529,7 @@ static void thread_func(void *userdata) {
             if (pollfd && (pollfd->revents & POLLIN)) {
                 int n_read;
 
-                if (u->profile == PROFILE_HSP || PROFILE_HFGW)
+                if (u->profile == PROFILE_HSP || u->profile == PROFILE_HFGW)
                     n_read = hsp_process_push(u);
                 else
                     n_read = a2dp_process_push(u);
-- 
1.7.2.3