From alsa-devel-owner@alsa.jcu.cz  Thu Jun 25 16:17:48 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 QAA05005;
	Thu, 25 Jun 1998 16:17:34 +0200
Received: from orbital (arloafoe@amstelland-98.xs4all.nl [194.109.37.98])
	by smtp3.xs4all.nl (8.8.8/8.8.8) with SMTP id QAA11830;
	Thu, 25 Jun 1998 16:17:25 +0200 (CEST)
Date: Thu, 25 Jun 1998 16:26:55 +0200 (CEST)
From: Andy Lo A Foe <arloafoe@cs.vu.nl>
To: Jaroslav Kysela <perex@jcu.cz>
cc: alsa-devel@jcu.cz
Subject: Re: SNDCTL_DSP_SETFRAGMENT
In-Reply-To: <Pine.LNX.3.96.980622220603.25837A-100000@entry.jcu.cz>
Message-ID: <Pine.LNX.3.96.980625151611.4556A-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 Mon, 22 Jun 1998, Jaroslav Kysela wrote:

> Why you are using old OSS interface? ALSA PCM have better interface to do
> it..

You are right of course. ALSA rocks! The fragment code works exactly as
advertized (unlike OSS). Greeaat!

> OK. 0x0008 means that ring buffer for playback will be separated to 8
> fragments (if possible). Total used size of ring buffer is in your case
> 4096 bytes (8 * 512). If you are using some big rate (for example 44.1kHz,

Ok.

> Wakeup latency: driver wakeup process if some fragment is free (all
> free fragment, not if partial fragment is free). This is default setup for
> OSS and ALSA PCM. With ALSA PCM you can set this wakeup mark to some
> another value - for example - wakeup only if at least three fragments are
> free etc..

Yes, this is very nice, flexible..

Thanks,

Andy
--
Andy Lo A Foe, arloafoe@cs.vu.nl | Linux v2.1.106 | "World domination.
http://www.cs.vu.nl/~arloafoe    |   BeOS R3 PPC  |  Fast." -- Linus
BeBox dual 133Mhz, BeDev: E-1516 |  ICQ: 7472949  |    IRC: Adnans



