diff options
Diffstat (limited to 'src/modules/bluetooth')
-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; |