Re: Full duplex in sound driver?

Thomas Sailer (sailer@ife.ee.ethz.ch)
Mon, 24 Aug 1998 20:52:31 +0200


Petko Manolov wrote:

> I'm a little surprised why full duplex isn't implemented yet for
> SB16. It is _not_ dificult at all. Thomas Sailer did it in his
> radio modem driver (using SB16). The only thing you have care about
> is this mix of 8 and 16 bit samples. So i can't see the point of
> writing separate driver. I'll try to do something with current OSS
> drivers but can't guarantee anything ;-)

The problem is the mmap interface OSS drivers are supposed to support.
Consider an app that does mmap on the input and output DMA buffers
and expects them to be in the same format.

You'd have to convert sample formats on the fly, which I did not
get working with acceptable overhead/latency etc.

Tom

-
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.altern.org/andrebalsa/doc/lkml-faq.html