Merge commit 'vudentz/master'

This commit is contained in:
Lennart Poettering 2009-01-19 23:12:23 +01:00
commit f83111dd17

View file

@ -448,8 +448,11 @@ static int bt_setconf(struct userdata *u) {
} }
u->ss.format = PA_SAMPLE_S16LE; u->ss.format = PA_SAMPLE_S16LE;
} }
else else {
u->ss.format = PA_SAMPLE_U8; u->ss.format = PA_SAMPLE_S16LE;
u->ss.channels = 1;
u->ss.rate = 8000;
}
memset(msg.buf, 0, BT_SUGGESTED_BUFFER_SIZE); memset(msg.buf, 0, BT_SUGGESTED_BUFFER_SIZE);
msg.setconf_req.h.type = BT_REQUEST; msg.setconf_req.h.type = BT_REQUEST;