Subject: Re: Audio: set_params()
To: None <tech-kern@netbsd.org>
From: TAMURA Kent <kent@netbsd.org>
List: tech-kern
Date: 02/11/2002 18:28:32
In message "Re: Audio: set_params()"
on 02/02/10, Ignatios Souvatzis <is@netbsd.org> writes:
> > Suppose that an audio hardware supports slinear16_le and no 8 bit
> > PCM. If a driver for the hardware is requested to set 8 bit
> > mulaw for playing, the driver would set mulaw_to_slinear16_le to
> > audio_params::sw_code and set 2 to audio_params::factor. Then,
> > should the driver set 16 to audio_params::precision?
> no, 8.
Thanks.
By this clarification, I have solved one of problems of
using /dev/audio with 16bit-only USB audio devices.
--
TAMURA Kent <kent2002@hauN.org> <kent@netbsd.org>