Re: [linux-audio-dev] 1.5 ms latency possible?

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] 1.5 ms latency possible?
From: David Olofson (david_AT_olofson.net)
Date: Wed Jan 01 2003 - 00:34:53 EET


On Tuesday 31 December 2002 23.24, Anders Torger wrote:
[...]
> I've thought about RTLinux actually, but it is simply too much
> work, porting drivers to start with...

You can probably get away with using normal drivers (OSS or ALSA) in
mmap() mode, and hooking the interrupt with an RTLinux or RTAI ISR.
Start up the I/O from user space as usual, and then divide the IRQ
period into the number of fragments you need, using an RTL or RTAI
periodic thread. Just keep in mind that PCI cards generally have a 64
byte PCI burst size limit, so going below that won't work.

//David Olofson - Programmer, Composer, Open Source Advocate

.- The Return of Audiality! --------------------------------.
| Free/Open Source Audio Engine for use in Games or Studio. |
| RT and off-line synth. Scripting. Sample accurate timing. |
`---------------------------> http://olofson.net/audiality -'
   --- http://olofson.net --- http://www.reologica.se ---


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed Jan 01 2003 - 00:40:15 EET