Preferred way to keep mixer mute in sync with digital_mute callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux