aboutsummaryrefslogtreecommitdiff
path: root/tinymix.c
AgeCommit message (Collapse)Author
2016-01-24fix format specifier for unsigned intSvyatoslav Mishyn
2016-01-09tinymix: don't get byte array if size is zeroSimon Wilson
Fixes an error if the number of bytes available is zero. Also remove unused len variable.
2015-05-04tinymix: Remove the unused parameter from tinymix_set_byte_ctl()Samreen Nilofer
The control pointer is not used in the tinymix_set_byte_ctl(), hence removing it. Signed-off-by: Samreen Nilofer <samreen.nilofer@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2015-05-04tinymix: Support more that 512 bytes in byte controlSamreen Nilofer
The set/get byte control support more than 512 bytes. This is utilized by tlv type controls. Signed-off-by: Samreen Nilofer <samreen.nilofer@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2014-05-07Merge branch 'master' of git://github.com/charleskeepax/tinyalsa into ↵Simon Wilson
charleskeepax-master Conflicts: tinymix.c
2013-11-19tinymix: Improve detect of integer valuesCharles Keepax
Tinymix detected integer values when setting controls simply by calling isdigit on the first character of the value being set. This causes problems with enumerated controls whos values start with digits. This patch improves this to provide more robust detection of integer values.
2013-10-30tinymix: Add support for setting/getting a binary controlDimitris Papastamos
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Signed-off-by: Nariman Poushin <nariman@opensource.wolfsonmicro.com>
2013-07-17tinymix: only print mixer name for full mixer dumpSimon Wilson
2013-06-28mixer: add mixer_get_name() APISimon Wilson
2012-11-09Add -Wall to Makefile and fix warningsSimon Wilson
2012-11-09tinymix: Add support for passing control nameMisael Lopez Cruz
Allow mixer controls to be accessed through the name, not only by id.
2012-09-18tinymix: support setting of multiple control valuesSimon Wilson
This allows stereo controls to be set with different values for left and right.
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.
2012-02-08tinycap, tinyplay, tinymix: Add extra parameters.Gabriel M. Beddingfield
Command-line arguments are added for: tinyplay and tinycap: -D n -- card number -p n -- period size -n n -- number of periods per buffer tinymix: -D n -- card number Signed-off-by: Gabriel M. Beddingfield <gabrbedd@ti.com>
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-08-09tinymix: print mixer values when no mixer control is specifiedChangoh Heo
Change-Id: Ia7a34033262316e2b8034782af5f59e013dd77f3
2011-07-27tinymix: Say if we can't open the mixerMark Brown
Otherwise we just list a device with zero controls which isn't the most obvious failure mode.
2011-06-06Add integer range getters to mixerSimon Wilson
2011-06-06tinymix: fix compilation warningsSimon 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