mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
fix soft_mute handling
This commit is contained in:
parent
a41d72bb2e
commit
2854afbb1b
1 changed files with 1 additions and 1 deletions
|
|
@ -1506,7 +1506,7 @@ int pa_sink_process_msg(pa_msgobject *o, int code, void *userdata, int64_t offse
|
||||||
|
|
||||||
case PA_SINK_MESSAGE_SET_MUTE:
|
case PA_SINK_MESSAGE_SET_MUTE:
|
||||||
|
|
||||||
if (!s->thread_info.soft_muted != s->muted) {
|
if (s->thread_info.soft_muted != s->muted) {
|
||||||
s->thread_info.soft_muted = s->muted;
|
s->thread_info.soft_muted = s->muted;
|
||||||
pa_sink_request_rewind(s, (size_t) -1);
|
pa_sink_request_rewind(s, (size_t) -1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue