summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_pulse.c
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2023-08-20 20:48:08 +0200
committersfan5 <sfan5@live.de>2023-08-20 20:49:10 +0200
commit817c281c7ce0e5fe5fbf30871a68f7d7d7d7e1e7 (patch)
tree2450d44752960da40e00baa4d85781027de295db /audio/out/ao_pulse.c
parent57ba77fc736f6976bc114974f5955c972139740f (diff)
downloadmpv-817c281c7ce0e5fe5fbf30871a68f7d7d7d7e1e7.tar.bz2
mpv-817c281c7ce0e5fe5fbf30871a68f7d7d7d7e1e7.tar.xz
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 5a94c86029a2d0e5452c07a7c12d2a6981f607df.
Diffstat (limited to 'audio/out/ao_pulse.c')
-rw-r--r--audio/out/ao_pulse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/audio/out/ao_pulse.c b/audio/out/ao_pulse.c
index 007b1c5155..ae19c875c0 100644
--- a/audio/out/ao_pulse.c
+++ b/audio/out/ao_pulse.c
@@ -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;