From alsa-devel-owner@alsa.jcu.cz  Fri Mar  5 17:05:31 1999
Received: from syrjala.pp.sci.fi (IDENT:villes@syrjala.pp.sci.fi [195.74.27.185])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id RAA17662
	for <alsa-devel@alsa.jcu.cz>; Fri, 5 Mar 1999 17:03:28 +0100
Received: from localhost (villes@localhost)
	by syrjala.pp.sci.fi (8.8.7/8.8.7) with ESMTP id SAA00904
	for <alsa-devel@alsa.jcu.cz>; Fri, 5 Mar 1999 18:05:48 +0200
Date: Fri, 5 Mar 1999 18:05:48 +0200 (EET)
From: Ville Syrjala <villes@syrjala.pp.sci.fi>
To: alsa-devel@alsa.jcu.cz
Subject: Re: OSS Seq / Timer
In-Reply-To: <9903050944.AA12650@servww1.ww.uni-erlangen.de>
Message-ID: <Pine.LNX.4.04.9903051759350.868-100000@syrjala.pp.sci.fi>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=X-UNKNOWN
Content-Transfer-Encoding: 8bit
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

On Fri, 5 Mar 1999, Takashi Iwai wrote:

> >>>>> On Fri, 5 Mar 1999 00:50:13 +0200 (EET), Ville Syrjala
> <villes@syrjala.pp.sci.fi> said: 
> 
> Sorry, this is an obvious bug of OSS seq.
> The timer resolution was not flexible.
> I didn't take care because I'm an AWE64 user, which has only system
> timer.
> The following is a patch to kernel/seq/ossseq/ossseq_timer.c.
> I didn't test it by myself, so hopefully it works...

It still doesn't work right. Now it uses a GF1 timer. Here's output from
my /proc/asound/timers

00-00: AMD InterWave : 9.945us (1-65535)
01-00: GF1 timer #1 : 80.0us (1-256)
02-00: GF1 timer #2 : 320.0us (1-256) : ossseq
XX-XX: unlimited system timer : 10000.0us (1-10000000)

MIDI files still play too fast. It works right when I use "-t 31"
parameter with playmidi. (system timer resolution / GF1 timer #2
resolution)

> 
> -- 
> Takashi Iwai / iwai@ww.uni-erlangen.de
> Department of Materials Science
> Friedrich-Alexander-University Erlangen-Nuernberg
> 

---
Ville Syrjl
syrjala@sci.fi
http://www.sci.fi/~syrjala/


