Subject: Re: Audio: set_params()
To: TAMURA Kent <firstname.lastname@example.org>
From: Ignatios Souvatzis <email@example.com>
Date: 02/10/2002 20:33:34
On Mon, Feb 11, 2002 at 01:24:28AM +0900, TAMURA Kent wrote:
> I have a question about set_params function of audio(9).
> 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?