Re: [linux-audio-dev] LAAGA proposal, part ??

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

Subject: Re: [linux-audio-dev] LAAGA proposal, part ??
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Fri Jun 08 2001 - 14:16:50 EEST


On Thu, Jun 07, 2001 at 03:47:12PM -0700, Simon Per Soren Kagedal wrote:
>
> Otherwise I don't understand how it's working. How would a regular
> audioengine_open (client_name, ...) know if it's in process or if
> we're supposed to connect to a server etc..?

Well, its a different binary that runs inprocess, so it will know what
kind it is at compile time.
 
> And, for the MP case... Is the specific IPC technique used not
> relevant to the API, do you say? How does that work? I mean, say
> that named FIFOs are used for sync (shm for the actual data). Then,
> as it looks like from main() here above, audioengine_open needs to
> pretty much create its own thread to wait for an fd, is that right?

I think we need to pick one, its just not that important which one.

Shm is obviously going to be involoved. Small write()s seem like the most
versatile thing.
 
> What kind of regex would be used? Actually, is that necessary... Why
> not just return all the ports and let the user program filter as
> necessary? Hmmm. I like the flags matching though, so a program can
> choose default output port as

You want the plugins to be as simple as possible (for performance reasons
if nothing else). I have to say i'm not 100% convinced that regex's are
the right thing, although I love them. We would need to specify the exact
regex implementation used as they vary a lot.

- Steve


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

This archive was generated by hypermail 2b28 : Fri Jun 08 2001 - 15:25:54 EEST