aboutsummaryrefslogtreecommitdiff
path: root/mixer.c
AgeCommit message (Collapse)Author
2013-06-28mixer: add mixer_get_name() APISimon Wilson
2013-06-28mixer: add mixer_ctl_update() APISimon Wilson
Some sound cards update their controls due to external events, such as HDMI EDID byte data changing when an HDMI cable is connected. This API allows the count of elements to be updated.
2013-05-07mixer: add get/set_array APISimon Wilson
This replaces (and extends) the existing get/set_bytes API, which is no longer required.
2012-10-24mixer: Add mixer_ctl_{set,get}_bytes()Dimitris Papastamos
For binary controls we don't want to go through mixer_ctl_{set,get}_value() as that will trigger many calls to our get()/put() callback in the kernel. Set the entire payload at once and trigger the get()/put() callback once. Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
2012-10-22Fix several 'symbol defined but not used' warnings.Gabriel M. Beddingfield
2012-05-04mixer: add missing include for sys/ioctl.hSimon Wilson
2012-03-08mixer: remove redundant IOCTL_ELEM_READsSimon Wilson
2012-03-08mixer: simplify string get APIsSimon Wilson
Just like the pcm_get_error() API, simplify the mixer API functions to return pointers to constant strings instead of making copies of strings.
2011-10-27mixer: show BYTE controlsPierre-Louis Bossart
Use existing routines to read BYTE controls. Somewhat inefficient since an ioctl is done for every byte, some caching in intermediate fields would be beneficial.
2011-06-07mixer: make error handling more consistentSimon Wilson
Remove the use of the errno variable and instead return errors directly where appropriate.
2011-06-07Fix error cases and some spurious whitespaceSimon Wilson
2011-06-06Add integer range getters to mixerSimon Wilson
2011-06-05Implement mixer setting in tinymixSimon Wilson
- re-add function to set enum type by string - implement setting of mixer values in tinymix - fix bug: read current mixer values before writing
2011-06-05Add enum support to mixerSimon Wilson
- simplify interface for setting/getting enum values - implement enum string get function - update tinymix to deal with enums - rename set/get_int functions because of supported types
2011-06-04Improve mixer supportSimon Wilson
- support get/set of multiple values - add parameter checking to functions - add api function to get control type - add tinymix utility to list mixer controls
2011-06-02Support multiple cards and devicesSimon Wilson
2011-05-26mixer: implement mixer_ctl_set/get_int functionsSimon Wilson
2011-05-25Initial contributionSimon Wilson