Opened 14 years ago

Closed 13 years ago

#2788 closed enhancement (fixed)

Muting Alsa

Reported by: dm@… Owned by: danielk
Priority: minor Milestone: 0.21
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no


I've noticed that ALSA, unlike OSS, doesn't completely mute the sound. It is still faintly audible when "muted". This patch fixes that by switching off the sound when the volume is zero. For joined controls it checks that all the channels have zero volume before switching off. The assumption of two channels and the relevant comment are copied from volumebase.cpp .

Attachments (1)

alsamute.patch (1.3 KB) - added by dm@… 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by dm@…

Attachment: alsamute.patch added

comment:1 Changed 14 years ago by anonymous

I'm running the latest revision of mythtv 0.20 from ( Fedora Core 6 and the mute button doesn't completely mute the sound so is this patch for 0.20 or for 0.21.

comment:2 Changed 13 years ago by danielk

Milestone: unknown0.21
Owner: changed from Isaac Richards to danielk
Status: newassigned
Version: 0.20head

comment:3 Changed 13 years ago by danielk

Resolution: fixed
Status: assignedclosed

(In [15777]) Fixes #2788. Actually mute ALSA output when volume on all audio channels is 0 using patch from David Matthews.

Without this change the volume is only turned down to a low level when we want it the sound to go away entirely.

Note: See TracTickets for help on using tickets.