mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
Fix hsp rate and channels.
This commit is contained in:
parent
5793f93350
commit
4460a5d5d5
1 changed files with 5 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue