From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastian H." Subject: Re: asihpi: Control naming Date: Fri, 01 Oct 2010 22:06:16 +0200 Message-ID: <4CA63F38.7000307@gmx.de> References: <4CA4078E.6010601@audioscience.com> <4CA4F1D8.50800@audioscience.com> <4CA5010E.4050705@gmx.de> <4CA58856.8070505@ladisch.de> <4CA5C69B.4000703@gmx.de> <4CA5DFFC.40004@ladisch.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by alsa0.perex.cz (Postfix) with SMTP id 5FB83103A2B for ; Fri, 1 Oct 2010 22:07:52 +0200 (CEST) In-Reply-To: <4CA5DFFC.40004@ladisch.de> 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: Clemens Ladisch Cc: Takashi Iwai , Eliot Blennerhassett , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Am 01.10.2010 15:19, schrieb Clemens Ladisch: > Sebastian H. wrote: >> Am 01.10.2010 09:05, schrieb Clemens Ladisch: >>> Those are elements where the simple mixer code doesn't know the >>> direction (because the driver author didn't put "Playback" or "Capture" >>> into the name). >> >> Ok, but I wonder how to interpret this state in which both functions >> return zero. > > There are cases where the playback/capture direction is obvious from the > name ("just implement an AI!"), but these can be considered bugs. Ok, I'll stick to the element name list from Raymond then for an automated detection. > In the other cases, the control really doesn't belong to a direction. > (Which doesn't prevent many mixers that have two pages from just > throwing them in with the playback controls.) Bringing up a separate page for rare *general* elements doesn't seem worthwile then and the *playback* page should be fine. Cheers, Sebastian