Messages in this thread | | | Date | Thu, 09 Dec 1999 21:28:18 +0100 | From | Thomas Sailer <> | Subject | Re: Number of sound channels? |
| |
Alan Cox wrote: > > > The Via audio chip has a single read channel and a single write > > channel. Do I treat this as a single channel with read and write > > capability, or two separate channels? > > Single full duplex I think
Mostly I do it both ways - if /dev/dsp is opened O_RDONLY (or O_WRONLY), another process is allowed to open it O_WRONLY (or O_RDONLY). If it opens O_RDWR, noone else is allowed.
This is sometimes useful, Sun does it also that way (but it only works if you can set the sampling rate independently for both directions).
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.tux.org/lkml/
| |