From alsa-devel-owner@alsa.jcu.cz  Mon Feb  8 22:21:12 1999
Received: from mascarat.dragonet.es (dragonet.es [194.179.92.6])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id WAA16998
	for <alsa-devel@alsa.jcu.cz>; Mon, 8 Feb 1999 22:20:55 +0100
Received: from Trantor.usr.dragonet.es (root@dinamic1-207.drago.net [195.76.196.207]) by mascarat.dragonet.es (8.8.7/8.7.3) with ESMTP id WAA30221 for <alsa-devel@alsa.jcu.cz>; Mon, 8 Feb 1999 22:17:46 +0100
Received: from Trantor.dragonet.es (1781 bytes) by Trantor.usr.dragonet.es
	via smail with P:bsmtp/R:smart_host/T:smtp
	(sender: <pandres@dragonet.es>) 
	id <m109y6j-0000dMC@Trantor.usr.dragonet.es>
	for <alsa-devel@alsa.jcu.cz>; Mon, 8 Feb 1999 22:20:41 +0100 (CET)
	(Smail-3.2.0.101 1997-Dec-17 #2 built 1998-Jul-16)
Received: from localhost (really [127.0.0.1]) by Trantor.Trnet.org
	via in.smtpd with esmtp
	id <m109xtP-000auGC@Trantor.Trnet.org> (Debian Smail3.2.0.101)
	for <alsa-devel@alsa.jcu.cz>; Mon, 8 Feb 1999 22:06:55 +0100 (CET) 
Date: Mon, 8 Feb 1999 21:06:55 +0000 (GMT)
From: =?iso-8859-1?Q?Paco_Andr=E9s_Verd=FA?= <pandres@dragonet.es>
To: alsa-devel@alsa.jcu.cz
Subject: Values for the dB fields in snd_stru_mixer_channel_hw ?
Message-ID: <Pine.LNX.3.96.990208205217.249A-100000@Trantor.Trnet.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: 8BIT
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

Hi,

  I'm developing a driver for Guillemot MaxiSound soundcards. At this moment
the driver is working, although it still needs a lot of work.

  One of the problems I have is that I don't know what values i should
put in the 'min_dB', 'max_dB' and 'step_dB' fields of the
'snd_stru_mixer_channel_hw' struct, the card's documentation does not
specify these values for almost any channel, and for some of the mixer
channels I've added (i.e.- Surround Delay) it doesn't make sense.

  Should I fill these fields with random/guessed values ?, Should I set them
to 0 ?.

  How have faced this other driver developers, I can see the values in the
source but I can't know how they get these values.


  Thanks
  
  Paco
  

  
 

                              Saludos

-----------------------------------------------------------------------------
Paco Andrs Verd                                         f.andres@usa.net
Alicante (Spain)                                              



