diff options
author | Muhammad Faiz <mfcc64@gmail.com> | 2018-05-11 22:35:10 +0700 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-06-04 00:00:57 +0300 |
commit | 945303a92ecac73ba430b9eac0f10279cd95a32a (patch) | |
tree | 87a1b7d027b538616b7018319dfdce144e3b5cdf /README.md | |
parent | 7f625ea29b1082248bcd17d6f1ee1a8b150e2bc7 (diff) | |
download | mpv-945303a92ecac73ba430b9eac0f10279cd95a32a.tar.bz2 mpv-945303a92ecac73ba430b9eac0f10279cd95a32a.tar.xz |
ao_alsa: replace snd_pcm_status() with snd_pcm_avail() in get_space()
Fixes a bug with alsa dmix on Fedora 29. After several minutes,
audio suddenly becomes bad and muted.
Actually, I don't know what causes this. Probably this is a bug in alsa.
In any case, as snd_pcm_status() returns not only 'avail', but also other
fields such as tstamp, htstamp, etc, this could be considered a good
simplification, as only avail is required for this function.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions