[alsa-devel] Spdif: Control interface
pavel.hofman at ivitera.com
Wed Nov 9 08:50:12 CET 2011
Dne 9.11.2011 06:28, ajay khandelwal napsal(a):
> Hi Pavel,
> Thanks for reply
> Simple mixer control 'IEC958 Playback AC97-SPSA',0
> Capabilities: volume volume-joined penum
> Playback channels: Mono
> Capture channels: Mono
> Limits: 0 - 3
> Mono: 3 [100%]
Thanks. I assume you mean this control. For meaning of this control see
It is not related to volume, IMO capabilities of this control are
incorrect, there should be "enum" instead. Perhaps changing
SNDRV_CTL_ELEM_TYPE_INTEGER to SNDRV_CTL_ELEM_TYPE_ENUMERATED ?
The code around this control is
. Perhaps the
.info = snd_ac97_info_volsw
should use a different method, setting the ENUM type.
Unfortunately, I do not have the HW to test any changes.
More information about the Alsa-devel