mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
solaris, tunnel: Remove some redundant boolean conversions
This commit is contained in:
parent
ef4ae785aa
commit
f88912af9b
2 changed files with 2 additions and 2 deletions
|
|
@ -564,7 +564,7 @@ static void sink_set_mute(pa_sink *s) {
|
|||
if (u->fd >= 0) {
|
||||
AUDIO_INITINFO(&info);
|
||||
|
||||
info.output_muted = !!s->muted;
|
||||
info.output_muted = s->muted;
|
||||
|
||||
if (ioctl(u->fd, AUDIO_SETINFO, &info) < 0)
|
||||
pa_log("AUDIO_SETINFO: %s", pa_cstrerror(errno));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue