mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-17 22:05:34 -05:00
core: make sure soft mute status stays in sync with hw mute status
This should close rhbz #494851, mandriva bz #51234. Probably the same as our own #572, launchpad #352732.
This commit is contained in:
parent
56f457c10d
commit
d52262367a
4 changed files with 12 additions and 4 deletions
|
|
@ -1146,7 +1146,7 @@ fail:
|
|||
|
||||
static void sink_get_mute_cb(pa_sink *s) {
|
||||
struct userdata *u = s->userdata;
|
||||
int err, sw;
|
||||
int err, sw = 0;
|
||||
|
||||
pa_assert(u);
|
||||
pa_assert(u->mixer_elem);
|
||||
|
|
|
|||
|
|
@ -1105,7 +1105,7 @@ fail:
|
|||
|
||||
static void source_get_mute_cb(pa_source *s) {
|
||||
struct userdata *u = s->userdata;
|
||||
int err, sw;
|
||||
int err, sw = 0;
|
||||
|
||||
pa_assert(u);
|
||||
pa_assert(u->mixer_elem);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue