From: "John Kacur" Subject: simplest volume control possible Date: Fri, 28 Nov 2008 15:50:40 +0100 Message-ID: <520f0cf10811280650x195e1dc5lf1239ade86fc7090@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.248]) by alsa0.perex.cz (Postfix) with ESMTP id 008F7246B0 for ; Fri, 28 Nov 2008 15:50:41 +0100 (CET) Received: by rv-out-0708.google.com with SMTP id f25so1319261rvb.32 for ; Fri, 28 Nov 2008 06:50:40 -0800 (PST) Content-Disposition: inline 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: alsa-devel@alsa-project.org Cc: Mark Brown List-Id: alsa-devel@alsa-project.org I'm looking at the dapm.txt documentation, and I'm looking at the code in codecs like wm8753.c, and I'm thinking that all of this is tremendous overkill for the very simple codec I have. Basically I don't care about power, the thing can be powered on all the time. I put a one pulse on a gpio for volume up and a zero pulse on a gpio for volume down, 0 - 63 pulses though. Question, then, what would be an appropriate widget to use?