Subject: Re: Ideas on the audio framework
To: TAMURA Kent <kent@NetBSD.org>
From: Nathan J. Williams <email@example.com>
Date: 12/03/2004 12:14:38
TAMURA Kent <kent@NetBSD.org> writes:
> B. In-kernel audio mixing
> The goals are:
> * /dev/audioN can be opened by multiple processes, and
> * audio streams written by the processes are mixed in the kernel
> and played with a single hardware.
> It would not be hard to realize the audio mixing if we had the
> audio converter pipeline and the device cloning. To mix audio
> streams, they must be the single PCM format and the single
> sampling rate. The audio converter pipeline would help it.
How will this work for hardware that natively supports different
formats (sample rates, say)? If multiple streams at different rates
are mixed, will the lower-rate ones all have to be resampled? Or will
it resample both to some (maximum?) rate?