mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
udev: allow passing of ignore_dB= parameter to alsa modules
This commit is contained in:
parent
24e582808c
commit
d6f598ab3e
4 changed files with 49 additions and 23 deletions
|
|
@ -133,7 +133,7 @@ static void io_callback(pa_mainloop_api *io, pa_io_event *e, int fd, pa_io_event
|
|||
cv.values[i] = PA_VOLUME_MAX;
|
||||
}
|
||||
|
||||
pa_sink_set_volume(s, &cv, TRUE, TRUE, TRUE, TRUE);
|
||||
pa_sink_set_volume(s, &cv, TRUE, TRUE);
|
||||
break;
|
||||
|
||||
case DOWN:
|
||||
|
|
@ -144,7 +144,7 @@ static void io_callback(pa_mainloop_api *io, pa_io_event *e, int fd, pa_io_event
|
|||
cv.values[i] = PA_VOLUME_MUTED;
|
||||
}
|
||||
|
||||
pa_sink_set_volume(s, &cv, TRUE, TRUE, TRUE, TRUE);
|
||||
pa_sink_set_volume(s, &cv, TRUE, TRUE);
|
||||
break;
|
||||
|
||||
case MUTE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue