Pavana Sharma wrote: > I am providing control interface for my driver to access from user space > with functions get & put . > > * while creating new controls should I be allowed to create my hardware > specific controls like gain, power, rate & other codec specific parameters.
All controls are hardware-specific. There are no requirements what controls you must, or must not, provide. > or should I take care of mapping OSS mixer controls to ALSA mixer. ALSA does this automatically, based on the control names. > * How user comes to know what controls are available & the valid range of > values for sliders & switches. The driver defines type and range of a control in the info callback. The user can determine these things with the snd_ctl_* functions in the ALSA library. See the source code of amixer and alsactl for details. HTH Clemens ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel