From owner-freebsd-hackers Sun Oct 12 19:37:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA08369 for hackers-outgoing; Sun, 12 Oct 1997 19:37:37 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from ocean.campus.luth.se (ocean.campus.luth.se [130.240.194.116]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA08364 for ; Sun, 12 Oct 1997 19:37:35 -0700 (PDT) (envelope-from karpen@ocean.campus.luth.se) Received: (from karpen@localhost) by ocean.campus.luth.se (8.8.5/8.8.5) id EAA01670; Mon, 13 Oct 1997 04:43:16 +0200 (CEST) From: Mikael Karpberg Message-Id: <199710130243.EAA01670@ocean.campus.luth.se> Subject: Re: catching signals... In-Reply-To: <199710121241.WAA01285@word.smith.net.au> from Mike Smith at "Oct 12, 97 10:11:13 pm" To: mike@smith.net.au (Mike Smith) Date: Mon, 13 Oct 1997 04:43:15 +0200 (CEST) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31H (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk According to Mike Smith: [...] > Multiple consumers should talk to the sound hardware via a multiplexer/ > mixer of some sort, eg. nas or something better. There doesn't seem > to be any other sensible way to multiplex multiple sound device > consumers anyway. ie. what's the point of having a stream output > device open by more than one consumer? It seems very useful to me... Like my mp3 player playing music, and my alarm clock, or something like a "windows emulator" (make-annoying-sounds- -as-soon-as-the-user-does-anything-in-an-attempt-to-make-user-go-mad sounds) trying to play a sound at the same time, while my recording program is trying to record something from a mic, or stereo, or something. Not even the "conflicting" use (two outputs) should cause a problem. Then should be automatically mixed in /dev/audio, me thinks. It doesn't seem illogical to me. Specially if you have a nice DSP soundcard that could do it automagically. No? /Mikael