This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.

The master branch has been updated
      from  96f01bf73fb8321f7dde732ab1b7ce52b5121043 (commit)

- Log -----------------------------------------------------------------
f83111d... Merge commit 'vudentz/master'
4460a5d... Fix hsp rate and channels.
-----------------------------------------------------------------------

Summary of changes:
 src/modules/bluetooth/module-bluetooth-device.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------

commit 4460a5d5d5015b003c703f3e81c00ad0ed3ac838
Author: Luiz Augusto von Dentz <[email protected]>
Date:   Mon Jan 19 10:19:53 2009 -0300

    Fix hsp rate and channels.

diff --git a/src/modules/bluetooth/module-bluetooth-device.c 
b/src/modules/bluetooth/module-bluetooth-device.c
index cb4746a..b22578e 100644
--- a/src/modules/bluetooth/module-bluetooth-device.c
+++ b/src/modules/bluetooth/module-bluetooth-device.c
@@ -448,8 +448,11 @@ static int bt_setconf(struct userdata *u) {
         }
         u->ss.format = PA_SAMPLE_S16LE;
     }
-    else
-        u->ss.format = PA_SAMPLE_U8;
+    else {
+        u->ss.format = PA_SAMPLE_S16LE;
+        u->ss.channels = 1;
+        u->ss.rate = 8000;
+    }
 
     memset(msg.buf, 0, BT_SUGGESTED_BUFFER_SIZE);
     msg.setconf_req.h.type = BT_REQUEST;

commit f83111dd1710d7e0a3240879217e6d0c783c4a4b
Merge: 96f01bf... 4460a5d...
Author: Lennart Poettering <[email protected]>
Date:   Mon Jan 19 23:12:23 2009 +0100

    Merge commit 'vudentz/master'


-- 
hooks/post-receive
PulseAudio Sound Server
_______________________________________________
pulseaudio-commits mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-commits

Reply via email to