lkml.org 
[lkml]   [1999]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.218 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site