pulseaudio/src
Georg Chini f7b3537bbf alsa: Improve resume logic after alsa suspend
Currently, when a system is waking up from suspend, the resume process of the
ALSA sink and source is unstable. Sometimes the device needs to be restarted
multiple times and when the system was suspended between snd_pcm_mmap_begin()
and snd_pcm_mmap_commit(), pulseaudio crashes on resume.
Additionally, variables are not reset after the resume, so that sink/source
report wrong latencies.
This patch fixes the issues by closing and re-opening the PCM if recovery
from an error condition is not possible. Additionally, the variables are
reset, so that latencies are reported correctly.
2019-03-25 05:02:29 +00:00
..
daemon Remove "module" from "module user requested module" 2019-02-16 10:19:36 +00:00
modules alsa: Improve resume logic after alsa suspend 2019-03-25 05:02:29 +00:00
pulse meson: Process and install files: default.pa, system.pa, daemon.conf, client.conf 2018-12-27 17:25:56 +05:30
pulsecore core-util: Use size_t for out parameter of pa_split_*in_place() 2019-03-19 11:42:19 +09:00
tests tests: Shorten how long daemon tests take to run 2019-01-16 09:39:24 +05:30
utils channel/s to channel(s) 2019-02-16 11:11:58 +00:00
.gitignore .gitignore: add passthrough-test 2018-10-23 19:18:26 +03:00
depmod.py update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
Makefile.am tests: Shorten how long daemon tests take to run 2019-01-16 09:39:24 +05:30
map-file format: Expose pa_format_info convenience getters in API 2018-07-23 19:29:19 +05:30
meson.build meson: Add optional Async NS support 2018-12-27 17:25:56 +05:30