diff options
| author | Sean Farley <scf@FreeBSD.org> | 2026-03-12 18:22:02 +0000 |
|---|---|---|
| committer | Christos Margiolis <christos@FreeBSD.org> | 2026-03-19 12:17:35 +0000 |
| commit | bd5ce67416b56d895c2e1a7f0497163c3814e982 (patch) | |
| tree | c6052dd189e0a54df0400a5b18d3c7dcc63253a1 /lib/libc/sys/sigprocmask.c | |
| parent | 660a79ef4f1112c90690b56c6e5ac7532428ec8c (diff) | |
sound: enforce MASTER volume mute during playbackstable/15
MASTER mute (vol.mute) works while audio is playing. However, if a
stream is stopped and restarted (PCMTRIG_STOP -> PCMTRIG_START), the
audio will resume even though the mixer shows the MASTER volume as
muted. Other streams that are already playing remain silent. New streams
may also start playing audio regardless of the MASTER mute state.
The volume feeder now considers the MASTER mute when determining whether
a channel should be muted. This ensures MASTER mute is consistently
enforced for all streams and removes the dependency on trigger-driven
state propagation.
Tested with Creative Labs CA0132 card.
MFC after: 1 week
Reviewed by: christos
Differential Revision: https://reviews.freebsd.org/D55605
(cherry picked from commit ac5ff2813027c385f9037b47b2b164d4c1bebd09)
Diffstat (limited to 'lib/libc/sys/sigprocmask.c')
0 files changed, 0 insertions, 0 deletions
