From: Takashi Iwai Subject: Re: [PATCH] [RFC 8/13] Intel SST sound card driver Date: Tue, 07 Jul 2009 08:49:27 +0200 Message-ID: References: <1246604775-12960-1-git-send-email-vinod.koul@intel.com> <98769532B4BB14429434178695419EAE5BBC2280@bgsmsx501.gar.corp.intel.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 635E01038BF for ; Tue, 7 Jul 2009 08:49:27 +0200 (CEST) In-Reply-To: <98769532B4BB14429434178695419EAE5BBC2280@bgsmsx501.gar.corp.intel.com> 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: "Harsha, Priya" Cc: "Koul, Vinod" , "alsa-devel@alsa-project.org" List-Id: alsa-devel@alsa-project.org At Tue, 7 Jul 2009 11:50:46 +0530, Harsha, Priya wrote: > > > > >> + .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, > >> + .info = snd_intelmad_line_volume_info, > >> + .get = snd_intelmad_volume_get, > >> + .put = snd_intelmad_volume_set, > > > >Can it have the dB information via TLV? > No. It actually differs across the 3 sound cards supported and it's > not a direct TLV that can be used. Then you'd set a static TLV entry after creating the ctl element instance, or return a TLV entry dynamically via the tlv callback. The dB information is pretty important nowadays since pulseaudio is using it. Takashi