mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
reload OSS volume after unsuspend
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1553 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
dd40020057
commit
9dac60c80e
1 changed files with 5 additions and 0 deletions
|
|
@ -560,6 +560,11 @@ static int unsuspend(struct userdata *u) {
|
|||
u->out_mmap_current = u->in_mmap_current = 0;
|
||||
u->out_mmap_saved_nfrags = u->in_mmap_saved_nfrags = 0;
|
||||
|
||||
if (u->sink)
|
||||
pa_sink_get_volume(u->sink);
|
||||
if (u->source)
|
||||
pa_source_get_volume(u->source);
|
||||
|
||||
/* Now, start only what we need */
|
||||
trigger(u, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue