mirror of https://github.com/mpv-player/mpv
Revert "ao/pulse: implement period_size"
This is why you don't merge three year old contributions
without checking that they're even applicable anymore.
This reverts commit 5a94c86029
.
This commit is contained in:
parent
57ba77fc73
commit
817c281c7c
|
@ -473,7 +473,6 @@ static int init(struct ao *ao)
|
|||
}
|
||||
ao->device_buffer = final_bufattr->tlength /
|
||||
af_fmt_to_bytes(ao->format) / ao->channels.num;
|
||||
ao->period_size = final_bufattr->minreq / af_fmt_to_bytes(ao->format) / ao->channels.num;
|
||||
|
||||
pa_threaded_mainloop_unlock(priv->mainloop);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue