From: João Paulo Rechi Vita <[email protected]>
---
src/modules/bluetooth/module-bluetooth-device.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/modules/bluetooth/module-bluetooth-device.c
b/src/modules/bluetooth/module-bluetooth-device.c
index 47457e5..b533947 100644
--- a/src/modules/bluetooth/module-bluetooth-device.c
+++ b/src/modules/bluetooth/module-bluetooth-device.c
@@ -546,7 +546,7 @@ static int hsp_process_render(struct userdata *u) {
int ret = 0;
pa_assert(u);
- pa_assert(u->profile == PROFILE_HSP || u->profile == PROFILE_HFGW);
+ pa_assert(u->profile == PROFILE_HSP || u->profile == PROFILE_HFGW ||
u->profile == PROFILE_HFP_AG);
pa_assert(u->sink);
/* First, render some data */
@@ -611,7 +611,7 @@ static int hsp_process_push(struct userdata *u) {
pa_memchunk memchunk;
pa_assert(u);
- pa_assert(u->profile == PROFILE_HSP || u->profile == PROFILE_HFGW);
+ pa_assert(u->profile == PROFILE_HSP || u->profile == PROFILE_HFGW ||
u->profile == PROFILE_HFP_AG);
pa_assert(u->source);
pa_assert(u->read_smoother);
@@ -1023,7 +1023,7 @@ static void thread_func(void *userdata) {
if (pollfd && (pollfd->revents & POLLIN)) {
int n_read;
- if (u->profile == PROFILE_HSP || u->profile == PROFILE_HFGW)
+ if (u->profile == PROFILE_HSP || u->profile == PROFILE_HFGW ||
u->profile == PROFILE_HFP_AG)
n_read = hsp_process_push(u);
else
n_read = a2dp_process_push(u);
--
1.7.11.7
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss