From mboxrd@z Thu Jan 1 00:00:00 1970 From: thomas schorpp Subject: Re: CMI8768 patch, softvol mixer slider Date: Sat, 19 Feb 2005 08:43:36 +0100 Message-ID: <4216EE28.6040702@gmx.de> References: <92C0412E07F63549B2A2F2345D3DB515F7D63F@cm-msg-02.cmedia.com.tw> Reply-To: t.schorpp@gmx.de Mime-Version: 1.0 Content-Type: text/plain; charset=Big5 Content-Transfer-Encoding: quoted-printable In-Reply-To: <92C0412E07F63549B2A2F2345D3DB515F7D63F@cm-msg-02.cmedia.com.tw> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Tien, C.L. - =A5=D0=A9=D3=C2=A7 wrote: > Hi, >=20 > I made a patch for CM8768, which has the same PCI ID but there are > several HW diffecece, aas listed: >=20 > 1. 8768 has no PCM volume control. > 2. The ADC of 8768 can only record in 44.1kHz or 48kHz. > 3. 8768 can support up to 8 channels. >=20 > I made change for item 2 and 3, I want to use the softvol plugin but > don't know how to. The driver just don't generate the PCM volume slider > for now. hmm, if read the docs right its userspace. how about getting it in the kernel and calling it snd_x_csoftmix ? heres a plugin builder PCM_PLUGIN_H softvol from userpaces lib adapted implemented in ../core/oss/softvol.c then? and we would need a control definition used then by snd_ctl_new1() the mixer build() s must determine then between real and soft controls... >=20 > The patch file is attached. >=20 > Sincerely, > ChenLi Tien >=20 >=20 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick