Fix sample size

This commit is contained in:
João Paulo Rechi Vita 2008-08-17 20:35:56 -03:00 committed by Lennart Poettering
parent e545479563
commit c89301da26

View file

@ -412,9 +412,11 @@ static int bt_setconf(struct userdata *u) {
pa_log_error("a2dp_init error");
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.channels = u->channels;