mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-17 08:56:42 -05:00
Fix sample size
This commit is contained in:
parent
e545479563
commit
c89301da26
1 changed files with 3 additions and 1 deletions
|
|
@ -412,9 +412,11 @@ static int bt_setconf(struct userdata *u) {
|
||||||
pa_log_error("a2dp_init error");
|
pa_log_error("a2dp_init error");
|
||||||
return e;
|
return e;
|
||||||
}
|
}
|
||||||
|
u->ss.format = PA_SAMPLE_S16LE;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
u->ss.format = PA_SAMPLE_U8;
|
||||||
|
|
||||||
u->ss.format = PA_SAMPLE_S16LE;
|
|
||||||
u->ss.rate = u->rate;
|
u->ss.rate = u->rate;
|
||||||
u->ss.channels = u->channels;
|
u->ss.channels = u->channels;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue