diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-01-19 23:12:23 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-01-19 23:12:23 +0100 |
commit | f83111dd1710d7e0a3240879217e6d0c783c4a4b (patch) | |
tree | a74bb6b974e8e0438ac38f94263cb9410b245f6c | |
parent | 96f01bf73fb8321f7dde732ab1b7ce52b5121043 (diff) | |
parent | 4460a5d5d5015b003c703f3e81c00ad0ed3ac838 (diff) |
Merge commit 'vudentz/master'
-rw-r--r-- | src/modules/bluetooth/module-bluetooth-device.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c index cb4746a4..b22578e8 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; |