[Alsa-devel] minimum tick time

2001-11-06 Thread Maarten de Boer
Hello, I am trying to get low latency with alsa. I have kernel 2.4.13 with the preemptive patch and the alsa-driver/utils/patches/rtc-2.4.9.dif patch applied. In the kernel configuration, I turned on RTC and Preemptive. I run the alsa-lib/test/latency.c test in poll mode, but the problem is the

[Alsa-devel] Re: [linux-audio-dev] minimum tick time

2001-11-06 Thread Paul Davis
>I run the alsa-lib/test/latency.c test in poll mode, >but the problem is the tick time, which is at 100 Hz: > >snd_pcm_hw_params_get_tick_time(params, NULL) = 1 > >What am I doing wrong? using poll mode and/or not making the RTC available as a timer via Takashi's kernel patch. --p

[Alsa-devel] Re: [linux-audio-dev] minimum tick time

2001-11-06 Thread Takashi Iwai
Hi Maarten, At Tue, 6 Nov 2001 17:12:01 +0100, Maarten de Boer wrote: > > Hello, > > I am trying to get low latency with alsa. > I have kernel 2.4.13 with the preemptive patch and the > alsa-driver/utils/patches/rtc-2.4.9.dif patch applied. > In the kernel configuration, I turned on RTC and > P

[Alsa-devel] Re: minimum tick time

2001-11-06 Thread Maarten de Boer
On Tue, 06 Nov 2001 11:40:30 -0500 Paul Davis <[EMAIL PROTECTED]> wrote: > >I run the alsa-lib/test/latency.c test in poll mode, > >but the problem is the tick time, which is at 100 Hz: > > > >snd_pcm_hw_params_get_tick_time(params, NULL) = 1 > > > >What am I doing wrong? > > using poll mode

Re: [Alsa-devel] Re: [linux-audio-dev] minimum tick time

2001-11-06 Thread Takashi Iwai
At Tue, 06 Nov 2001 19:10:20 +0100, Abramo wrote: > > Takashi Iwai wrote: > > > > Hi Maarten, > > > > At Tue, 6 Nov 2001 17:12:01 +0100, > > Maarten de Boer wrote: > > > > > > Hello, > > > > > > I am trying to get low latency with alsa. > > > I have kernel 2.4.13 with the preemptive patch and t

Re: [Alsa-devel] Re: [linux-audio-dev] minimum tick time

2001-11-06 Thread Abramo Bagnara
Takashi Iwai wrote: > > Hi Maarten, > > At Tue, 6 Nov 2001 17:12:01 +0100, > Maarten de Boer wrote: > > > > Hello, > > > > I am trying to get low latency with alsa. > > I have kernel 2.4.13 with the preemptive patch and the > > alsa-driver/utils/patches/rtc-2.4.9.dif patch applied. > > In the ke

Re: [Alsa-devel] Re: [linux-audio-dev] minimum tick time

2001-11-06 Thread Takashi Iwai
At Tue, 06 Nov 2001 19:34:05 +0100, Abramo wrote: > > Takashi Iwai wrote: > > > > At Tue, 06 Nov 2001 19:10:20 +0100, > > Abramo wrote: > > > > > > Takashi Iwai wrote: > > > > > > > > Hi Maarten, > > > > > > > > At Tue, 6 Nov 2001 17:12:01 +0100, > > > > Maarten de Boer wrote: > > > > > > > > >

Re: [Alsa-devel] Re: [linux-audio-dev] minimum tick time

2001-11-06 Thread Abramo Bagnara
Takashi Iwai wrote: > > At Tue, 06 Nov 2001 19:10:20 +0100, > Abramo wrote: > > > > Takashi Iwai wrote: > > > > > > Hi Maarten, > > > > > > At Tue, 6 Nov 2001 17:12:01 +0100, > > > Maarten de Boer wrote: > > > > > > > > Hello, > > > > > > > > I am trying to get low latency with alsa. > > > > I ha

[Alsa-devel] Re: minimum tick time

2001-11-06 Thread Maarten de Boer
Abramo Bagnara <[EMAIL PROTECTED]> wrote: > This would not imply a "major" rewrite: the API and the kernel code has > been thought for that. > You need simply to have different snd_pcm_tick_set functions (see > pcm_lib.c). That's interesting. So you think that that would be the prefered way to d

Re: [Alsa-devel] Re: [linux-audio-dev] minimum tick time

2001-11-06 Thread Abramo Bagnara
Takashi Iwai wrote: > > > I'm strongly against a module parameter for that. > > We'd need an API call for tick source selection and a new ioctl, but I > > don't like very much the sequencer API way, I'd prefer something like: > > > > timer_fd = open(timer); > > pcm_fd = open(pcm); > > ioctl(pcm_f