From: Pavel Hofman <pavel.hofman@ivitera.com>
To: ajay khandelwal <ajay.lforum@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Spdif: Control interface
Date: Wed, 09 Nov 2011 08:50:12 +0100 [thread overview]
Message-ID: <4EBA30B4.7090607@ivitera.com> (raw)
In-Reply-To: <CAL7V=_ERiQSqUQDyaV=8dSiwNZmUOpRO-x1mHRCF=fsAMSdSsA@mail.gmail.com>
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
e.g. http://alsa.opensrc.org/Realtek_ALC650#SPDIF_support
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
http://git.alsa-project.org/?p=alsa-kmirror.git;a=blob;f=pci/ac97/ac97_codec.c;hb=HEAD#l874
. 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.
Regards,
Pavel.
next prev parent reply other threads:[~2011-11-09 7:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-08 14:01 Spdif: Control interface ajay khandelwal
2011-11-08 20:43 ` Pavel Hofman
2011-11-09 5:28 ` ajay khandelwal
2011-11-09 7:50 ` Pavel Hofman [this message]
2011-11-09 8:13 ` Takashi Iwai
2011-11-09 8:19 ` Pavel Hofman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EBA30B4.7090607@ivitera.com \
--to=pavel.hofman@ivitera.com \
--cc=ajay.lforum@gmail.com \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.