Subject: Re: Two audio sources
To: Zafer Aydogan <zafer@aydogan.de>
From: Iain Hibbert <plunky@rya-online.net>
List: tech-userlevel
Date: 10/28/2006 16:27:59
On Sat, 28 Oct 2006, Zafer Aydogan wrote:

> is it possible to listen to multiple audio sources at the same time?

yes, as long as you have multiple audio devices to play the sounds

> For example, to listen to two mp3 streams at the same, or to one video
> and one audio stream? Or the general case: While listening to mp3's
> another application tries to output sound and either fails with error
> (audio device in use), or stays mute.

audio(4) devices are exclusive open so the second writer will get an
error, but I think this might not be your question - you probably want to
use something like pkgsrc/audio/esound to handle mixing multiple audio
streams to a single set of speakers

iain