From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Hofman Subject: Re: Spdif: Control interface Date: Wed, 09 Nov 2011 09:19:23 +0100 Message-ID: <4EBA378B.9010704@ivitera.com> References: <4EB99477.5050208@ivitera.com> <4EBA30B4.7090607@ivitera.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cable.insite.cz (twistwrist.pilsfree.net [78.108.108.109]) by alsa0.perex.cz (Postfix) with ESMTP id 8ED1D1039C0 for ; Wed, 9 Nov 2011 09:19:25 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Takashi Iwai Cc: ajay khandelwal , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Dne 9.11.2011 09:13, Takashi Iwai napsal(a): > At Wed, 09 Nov 2011 08:50:12 +0100, > Pavel Hofman wrote: >> >> 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 ? > > Yes, from the design POV, it should have been an enum. > But changing this would break many working user-space setups, so no-go > for now. Since AC97 is a legacy stuff, the worst thing is to break > something. Fair enough :) Thanks, Pavel.