diff options
author | Nicolas F <ovdev@fratti.ch> | 2020-06-07 20:14:01 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2020-06-07 22:16:49 +0300 |
commit | 0fb02f181f3df9e8336939b42c3412e01fb60427 (patch) | |
tree | 31c9a73e81ebdeb0979f59d5436739c4ae23d938 /demux/cue.c | |
parent | 12415db3a60ce8a044ccc7ef510c85a1a95218e2 (diff) | |
download | mpv-0fb02f181f3df9e8336939b42c3412e01fb60427.tar.bz2 mpv-0fb02f181f3df9e8336939b42c3412e01fb60427.tar.xz |
ao/pulse: properly set device_buffer
Previously, device_buffer defaulted to 0 on pulse. This meant that
commit baa7b5c would always wait with a timeout of 0, leading to
high CPU usage for PulseAudio users.
By setting device_buffer to the number of samples per channel that
PulseAudio sets as its target, this commit fixes this behaviour.
Diffstat (limited to 'demux/cue.c')
0 files changed, 0 insertions, 0 deletions