From alsa-devel-owner@alsa.jcu.cz  Thu Aug 20 12:44:26 1998
Received: from smtp3.xs4all.nl (smtp3.xs4all.nl [194.109.6.53])
	by marvin.jcu.cz (8.8.8/8.8.8) with ESMTP id MAA18191
	for <alsa-devel@jcu.cz>; Thu, 20 Aug 1998 12:44:22 +0200
Received: from orbital (arloafoe@orbital.xs4all.nl [194.109.37.98])
	by smtp3.xs4all.nl (8.8.8/8.8.8) with SMTP id MAA13729
	for <alsa-devel@jcu.cz>; Thu, 20 Aug 1998 12:44:21 +0200 (CEST)
Date: Thu, 20 Aug 1998 12:42:56 +0200 (CEST)
From: Andy Lo A Foe <arloafoe@cs.vu.nl>
To: alsa-devel@jcu.cz
Subject: RE: Requirements?
In-Reply-To: <01BDCBD0.3294F1A0@MUSE           >
Message-ID: <Pine.LNX.3.96.980820123501.221A-100000@orbital>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

On Thu, 20 Aug 1998, Richard W.E. Furse wrote:

> I usually work with 20ms as the point at which events start to sound 
> disconnected. Would it be possible to drop the fragment size say to 1024 or 
> even 512 bytes? I suspect this might present difficulties for Linux's 
> multitasking strategy.

I'm currently experimenting with the fragment code. With small fragment
sizes ( < 1024) I'm using the "real-time" scheduling mechanism in Linux
to feed the soundcard, since the samples are coming from the amp mp3
engine. This holds up pretty good. The relevant functions are
sched_setscheduler() and sched_getscheduler()...

Andy
--
Andy Lo A Foe, arloafoe@cs.vu.nl | Linux v2.1.115 | PII 233 
http://www.cs.vu.nl/~arloafoe    |   BeOS R3 PPC  | Bebox 133
http://orbital.xs4all.nl/andy    |  ICQ: 7472949  | IRC: Adnans



