Re: Koopback sound driver ?

From: Pavel Machek (pavel@ucw.cz)
Date: Wed Jun 21 2000 - 12:35:01 EST


Hi!

> is there anyone working on a loopback audio device ?
> otherwise i'll start working on this ...

Well, I might have more interesting project: ncd. It should be
essentially network character device, pretty similar to
nbd. Differences would be that you have to handle ioctls(). You have
essentially three options

0) limit ioctls to "known" one and do serialization in kernel. (That
is probably what you wanted to do in loopback audio)

1) implement network protocol for accessing address space.

2) rely on ptrace().

0) is not really good, option 1) is best but 2) is simple, too, and
nearly as good.
                                                                Pavel

-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents me at discuss@linmodems.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:22 EST