From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaroslav Kysela Subject: Re: hardware channel mixing Date: Mon, 6 Sep 2004 13:54:37 +0200 (CEST) Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <1094254221.6575.94.camel@krustophenia.net> <1094260793.3727.19.camel@localhost> <1094408916.4445.13.camel@krustophenia.net> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-Reply-To: <1094408916.4445.13.camel@krustophenia.net> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Lee Revell Cc: mjander@users.sourceforge.net, alsa-devel List-Id: alsa-devel@alsa-project.org On Sun, 5 Sep 2004, Lee Revell wrote: > If you look at the kX project header files, 8010.h is clearly derived > from emu10k1.h. But, there are several unknown values in the comments > that seem to be the result of reverse engineering, probably a PCI bus > capture with the Windows driver. One of these comments refers to a half > loop interrupt. > > It seems like if this were the case, then it would require a workaround > similar to the extra voice hack. Does this seem plausible? Maybe. But it forces us to use only two periods per ring buffer. It can be easy to add an extra check for this case and don't allocate extra voice for it. It still might be that it won't work correctly (I think that emu chips interrupt a bit earlier and not all samples are transferred via PCI bus at the time). Also note that the current code uses a ccis correction for the extra voice (I don't know what this is - probably some cache or interpolation correction). Without complete specs describing the exact hardware behaviour, it's difficult to do a proper driver design. Jaroslav ----- Jaroslav Kysela Linux Kernel Sound Maintainer ALSA Project, SUSE Labs ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click