mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
It is now allowed to call pa_sink_get_volume() from thread context
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1557 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
8aee345ccb
commit
1615450767
1 changed files with 2 additions and 3 deletions
|
|
@ -287,9 +287,8 @@ static int unsuspend(struct userdata *u) {
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
pa_sink_get_volume(u->sink);
|
/* FIXME: We need to reload the volume somehow */
|
||||||
pa_sink_get_mute(u->sink);
|
|
||||||
|
|
||||||
u->first = 1;
|
u->first = 1;
|
||||||
|
|
||||||
pa_log_debug("Resumed successfully...");
|
pa_log_debug("Resumed successfully...");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue