[alsa-devel] Additing a new Hardware Specific feature in the ALSA driver

Eliot Blennerhassett linux at audioscience.com
Sun Dec 21 22:01:33 CET 2008


SUBHRANIL CHOUDHURY wrote:
> Dear all,
> I am new to ALSA  programming.
> Suppose if i have to add some hardware specific feature in the ALSA sound
> driver and expose to the application via the ALSA library, how can do that?
>
> Please reply if you have some inputs.
> Anything is welcome.
> Thanks in advance.
>   
Please give more information about the kind of feature.
Standard alsa controls support arrays of integers, boolean, bytes or
enumerated lists of strings as controls.

Beyond that you can consider using the hwdep facility which basically
gives you a special device file which can implement your special file
operations  eg ioctl

regards

Eliot



More information about the Alsa-devel mailing list