Subject: Re: RFC: new utility functions in auconv.c
To: None <>
From: Valeriy E. Ushakov <>
List: tech-kern
Date: 11/08/2004 15:43:29
On Mon, Nov 08, 2004 at 21:28:53 +0900, TAMURA Kent wrote:

> To write audio_hw_if::set_params() and query_encoding() annoys
> us.  It is dull work and many audio drivers have similar code.
> A driver loses an encoding which can be supported by sw_code if
> the driver author forgets to add code to set the sw_code for the
> encoding in set_params().
> If a driver uses the proposed functions, the code will be
> simplified and shorter.  If we added new audio converter and it
> was supported by the proposed functions, drivers using them
> would get support for the new converter without any code change.

I had to write audio driver code some time ago, and writing all the
code to plug into audio(9) framework was really tedious and boring.
The more code we can factor out - the better.

SY, Uwe
--                         |       Zu Grunde kommen            |       Ist zu Grunde gehen