From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Re: [Alsa-user] AD1985 full-duplex(?) Date: Tue, 28 Sep 2004 17:21:30 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <4159659B.2020702@pg.gda.pl> <200409281457.i8SEvQNX023126@localhost.localdomain> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <200409281457.i8SEvQNX023126@localhost.localdomain> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Paul Davis Cc: Adam =?ISO-8859-2?Q?Tla=B3ka?= , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Tue, 28 Sep 2004 10:57:26 -0400, Paul Davis wrote: > > >current ALSA could not meet my requirements because of > >swapping/scheduling effects which makes distorted sound in normal non RT > >apps. Doing just a few more calls doesn't help in this case ;-[. > > oh c'mon. thats not ALSA. the *kernel* can't meet your > requirements. ALSA has nothing to do with it. OSS apps and drivers > can't change the way the kernel schedules tasks. the same broken > device drivers will coexist with any kernel-side API that you > propose. you're mistaking where these issues exist. I agree with Paul. It's the kernel issue. For example, with the Con Kolivas's patch, you can choose another scheduler class which works much better in such a situation (it's a kind of safe soft-RT w/o root priv). However, having a functionality to creata a kernel-thread (with a slightly higher priority) for the large intermediate buffer handling sounds not too difficult. It might be even a good idea - at least, all opererations can be transparent. This will offer the more stable playback but of course much worse audio control. But it will surely make the life of some people easier :) Takashi ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php