[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Channel sessions
From: |
olafBuddenhagen |
Subject: |
Re: Channel sessions |
Date: |
Fri, 20 Jul 2007 07:56:59 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hi,
On Thu, Jul 19, 2007 at 09:35:01PM +0200, Carl Fredrik Hammar wrote:
> Suppose we want to record some audio which we may read from
> /dev/sound/audio, which is a channelio translator. Additionaly we
> want to broadcast the audio onto our internet radio station. These
> tasks are handled by seperate processes which both need to read from
> /dev/sound/audio. However we will find that the audio is choppy in
> both the recording and the broadcast!
[...]
> Also how are sessions like above handled by kernel devices?
Most kernel devices allow only exclusive access. On Linux for example,
only one client can open /dev/dsp at the same time.
Splitting the input like you described, is magic that normally would
require a special program. On the Hurd, we'd want a translator for this
of course -- i.e. you probably have to consider it as one possible use
for channelio. However, you do *not* need to assume that every single
channelio module has to handle it I'd say, but only one specially for
this purpose.
-antrik-
- Channel sessions, Carl Fredrik Hammar, 2007/07/19
- Re: Channel sessions,
olafBuddenhagen <=