Re: [linux-audio-dev] Realtime

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

Subject: Re: [linux-audio-dev] Realtime
From: David Olofson (david_AT_gardena.net)
Date: Sat Jul 08 2000 - 09:07:43 EEST


On Wed, 28 Jun 2000, yodaiken_AT_fsmlabs.com wrote:
> On Tue, Jun 27, 2000 at 11:20:15PM -0400, Paul Barton-Davis wrote:
> > the ALSA drivers currently represent a minimum of 64000 C statements
> > (i counted semicolons in the files; there are 174,000 lines in total,
> > including comments).
> >
> > although i strongly suspect that most of the work involved in porting
> > them to RTLinux could be done with a portability "wrapper", i also
> > strongly suspect that we'd have to go over every single line of every
> > file and check it for various assumptions.
>
> My guess is not, but code settles all such questions.

My experience after doing it with the es1370 driver is that there are
some Linux interface constructs that are a bit tricky to get right,
but the rest - most of the code - only requires that you one way or
another replace Linux specific operations with RTL code with the same
semantics. When you have the *methods* figured out, doing it on more
drivers is more of a copy/paste job.

The biggest problem is probably that things are done in slightly
different ways in different drivers, which may be a bit confusing, at
least if you're not an experienced Linux kernel hacker.

//David

.- M u C o S --------------------------------. .- David Olofson ------.
| A Free/Open Multimedia | | Audio Hacker |
| Plugin and Integration Standard | | Linux Advocate |
`------------> http://www.linuxdj.com/mucos -' | Open Source Advocate |
.- A u d i a l i t y ------------------------. | Singer |
| Rock Solid Low Latency Signal Processing | | Songwriter |
`---> http://www.angelfire.com/or/audiality -' `-> david_AT_linuxdj.com -'


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

This archive was generated by hypermail 2b28 : Sat Jul 08 2000 - 12:06:42 EEST