alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Preferred way to keep mixer mute in sync with digital_mute callback
@ 2016-10-10 15:34 Pascal Huerst
  0 siblings, 0 replies; only message in thread
From: Pascal Huerst @ 2016-10-10 15:34 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org

Hey everyone,

I'm currently having an issue with cs4271. The codec plays back, even if
mute is activated in alsa mixer. This is caused by the digital_mute
callback, that does not care about the current mute status in alsa
mixer. As a user, I would expect, that if mute is set in alsa mixer, I
don't get any output if I play something back. (But probably I'm wrong?).

On the other hand, wm8350 codec uses a flag in the driver struct, that
stores the current state of mute in alsa mixer, which is taken into
consideration in the digital_mute callback. But to make this possible,
one can not just use:

SOC_*()

for example, but has to create a put-function using:

SOC_*_EXT()

only to get and store that flag. Is this really the way to go, or did I
miss something?


Thanks,
Pascal

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-10 15:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-10 15:34 Preferred way to keep mixer mute in sync with digital_mute callback Pascal Huerst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).