summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Release v1.0.21Jaroslav Kysela2009-08-311-1/+1
| | | | Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* aplaymidi: reduce bandwidth for big SysEx messagesClemens Ladisch2009-08-171-1/+6
| | | | | | | When throttling the data rate for big SysEx messages, use the bandwidth that devices use in practice instead of the theoretical maximum. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* alsamixer: fix display of inactive volume barClemens Ladisch2009-06-191-2/+4
| | | | | | | Fix the volume bar color selection logic so that the current attribute is used for inactive controls. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* alsamixer: rename attr to chClemens Ladisch2009-06-191-9/+8
| | | | | | | Rename the attr variable because it contains not only the character's attributes but also the character itself. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* alsactl init rules: fix Lenovo T61 initialization (Speaker Playback Switch)Jaroslav Kysela2009-06-181-0/+1
| | | | | | See: https://bugzilla.redhat.com/show_bug.cgi?id=506266 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* alsamixer - Tricolorize volume barsTakashi Iwai2009-06-183-18/+51
| | | | | | A little of bit of Italian taste was missing... Signed-off-by: Takashi Iwai <tiwai@suse.de>
* alsamixer: update man pageClemens Ladisch2009-06-021-1/+1
| | | | | | Update man page for change in "CAPTURE" field. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* alsamixer: fix text box clipping with multi-column charactersClemens Ladisch2009-05-281-1/+1
| | | | | | | | When a multi-column character would straddle the left window border of a text box, we have to take the inserted space character into account when we compute how many characters fit into the rest of the line. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* Update ja.po for alsamixerTakashi Iwai2009-05-271-75/+83
| | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
* alsamixer - Fix uninitialized variable warningTakashi Iwai2009-05-271-0/+1
| | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
* add German translationsClemens Ladisch2009-05-252-1/+1533
| | | | Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* alsamixer: show channel names for multichannel controlsClemens Ladisch2009-05-2538-2737/+4618
| | | | | | | | | For multichannel mixer controls, add the channel name to each screen control. Also make some other small changes. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* alsactl: init - fix default configuration for ENS1370Jaroslav Kysela2009-05-211-4/+7
| | | | Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* alsactl: fixed Headphone Playback Volume setting in default rulesJaroslav Kysela2009-05-151-2/+2
| | | | Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* speaker-test: only check byte order onceDan McGee2009-05-111-41/+13
| | | | | | | | | Rather than having numerous preprocessor directives scattered in the code checking __BYTE_ORDER, only check it once and define a set of macros accordingly that can be used in the rest of the code. This makes things simpler to read and less error-prone. Signed-off-by: Dan McGee <dpmcgee@gmail.com>
* speaker-test: move existing endian macros up in the fileDan McGee2009-05-111-10/+10
| | | | | | | This is necessary for a later patch removing the various endianness checks sprinkled throughout the code. Signed-off-by: Dan McGee <dpmcgee@gmail.com>
* Remove dead/commented out codeDan McGee2009-05-111-15/+0
| | | | Signed-off-by: Dan McGee <dpmcgee@gmail.com>
* Allow frequencies down to 30 HzDan McGee2009-05-111-1/+1
| | | | Signed-off-by: Dan McGee <dpmcgee@gmail.com>
* speaker-test: allow frequency to be floating pointDan McGee2009-05-111-4/+4
| | | | | | | | Use atof() rather than atoi() to store the frequency- we were already using a floating point value internally but did not let the user specify one from the command line. Signed-off-by: Dan McGee <dpmcgee@gmail.com>
* Release v1.0.20v1.0.20Jaroslav Kysela2009-05-061-1/+1
| | | | Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* alsactl: ca0106 initialization files - wrong exitJaroslav Kysela2009-05-051-3/+2
| | | | Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* alsactl: add ca0106 initialization fileJaroslav Kysela2009-05-052-0/+33
| | | | | | | This file was created using alsa-info.sh database on www.alsa-project.org without any real tests. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* alsactl: changes in initialization filesJaroslav Kysela2009-05-052-23/+47
| | | | | | | | - handle virtual master for T61 and TM8100 - when master volume control is available, initialize PCM & CD playback volumes to 0dB Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* alsactl: fix sysfsroot path and parser extensionsJaroslav Kysela2009-04-303-5/+34
| | | | | | | | The sysfsroot path is /sys/class/sound/cardX/device for recent kernels. The ACCESS check honors the variable substutition now. Added $config{key} substitution. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* alsactl: init rules - fix HDA Conexact codec PCM initializationJaroslav Kysela2009-04-281-0/+2
|
* ALSA: Added vi-like key bindings to alsamixer.Simon Hengel2009-04-201-0/+4
| | | | | | | | * Added 'j' as an alias for KEY_DOWN * Added 'k' as an alias for KEY_UP Signed-off-by: Simon Hengel <simon.hengel@gmx.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* alsactl/init: Fix CTL{value} assigning - make it relevant to documentationJaroslav Kysela2009-04-151-4/+3
| | | | Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* aplay/arecord: improve suspicious buffer detection and add --test-coef parameterJaroslav Kysela2009-04-091-8/+57
| | | | Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* aplay/arecord: remove debug printfs introduced by previous patchJaroslav Kysela2009-04-081-2/+0
| | | | Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* aplay/arecord: fix underrun/overrun time calculation for monotonic clockJaroslav Kysela2009-04-083-15/+78
| | | | | | Also, add librt check to configure.in. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* alsaconf - prefer /etc/modprobe.d/sound/50-sound.confTakashi Iwai2009-03-181-3/+18
| | | | | | | | For recent module-init-tools, prefer /etc/modprobe.d/50-sound.conf instead of /etc/modprobe.d/sound. The latest m-i-t version will complain (and can ignore) files that don't follow the format. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* alsactl - Add missing -I optionTakashi Iwai2009-02-201-1/+1
| | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
* speaker-test.c - add readability comments to speaker channelsWu Fengguang2009-02-201-36/+36
| | | | | Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* Fix misc compile warnings in alsactlTakashi Iwai2009-02-182-12/+2
| | | | | | | alsactl.c:166: warning: assignment from incompatible pointer type init_utils_string.c:21: warning: ‘string_is_true’ defined but not used Signed-off-by: Takashi Iwai <tiwai@suse.de>
* alsactl: init - modify default rule to better support some HDA codecsJaroslav Kysela2009-02-051-11/+21
| | | | | | | Some HDA codecs have shifted dB range (-34.5dB - 12dB) for PCM and CD inputs. Use default 0dB value for them. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* Fix build with partially-installed alsa-libTakashi Iwai2009-01-292-8/+35
| | | | | | | Fix build of alsa-utils package with a partially installed alsa-lib, e.g. without ramwidi or sequencer support. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* Use ANSI C functionsWill Wagner2009-01-191-2/+2
| | | | | | | Replace non-ANSI C functions index() and rindex() with strchr() and strrchr(), respectively. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* Release v1.0.19v1.0.19Jaroslav Kysela2009-01-191-1/+1
| | | | Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* Fix wrong direction check in aplay/arecord --list-pcmsPeter Stokes2009-01-121-1/+1
| | | | | | | | | | | | I have just discovered a minor logic inversion bug in aplay/arecord --list-pcms functionality. Basically, executing "aplay --list-pcms" lists all devices capable of capture and executing "arecord --list-pcms" lists all devices capable of playback. Signed-off-by: Peter Stokes <linux@dadeos.co.uk> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* aseqnet - Add $(INTLLIBS) to Makefile.amTakashi Iwai2008-12-081-0/+1
| | | | | | | Add $(INTLLIBS) to LDADD for aseqnet to fix build errors on uclibc (and possibly others). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* alsa-utils check if __USE_BSD is defined before compiling "BSD functions"Hans-Christian Egtvedt2008-12-081-1/+1
| | | | | | | | | | | Another bug/issue I tripped over when compiling alsa-utils in an environment using uClibc to supply the C library functions. Here I have enabled some old BSD style functions. The attached patch will honor them if they are enabled. Without this patch I get a redefined error during compile. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* Merge branch 'master' of git@git.alsa-project.org:alsa-utilsTakashi Iwai2008-11-261-3/+3
|\
| * alsactl: Fix restore / init call behaviour when driver contains more controlsJaroslav Kysela2008-11-211-3/+3
| | | | | | | | | | | | | | Fix check when driver contains more controls than state file. In this case, initialization procedure should be run, too. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | speaker-test: Fix floating-point exception bugTakashi Iwai2008-11-261-7/+8
|/ | | | | | | | | The period_size an buffer_size parameters must be taken after calling snd_pcm_hw_params(). Otherwise they could be undefined numbers. For example, period_size gets 0 when pcsp driver is used, resulting in a floating-point exception error. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* Make some static tables and strings constants.Diego E. 'Flameeyes' Pettenò2008-11-2114-26/+26
| | | | | | | | | | | By doing this we move them from the .data section to .rodata setion, or from .data.rel to .data.rel.ro. The .rodata section is mapped directly from the on-disk file, which is always a save, while .data.rel.ro is mapped directly when using prelink, which is a save in a lot of cases. Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
* Mark static the functions not used outside their unit.Diego E. 'Flameeyes' Pettenò2008-11-215-14/+14
| | | | | | | This way the compiler can assume more information about their interface for optimisation. Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
* Remove some unused variables.Diego E. 'Flameeyes' Pettenò2008-11-211-3/+0
| | | | Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
* Remove some dead code (comparisons between 0 and unsigned integers).Diego E. 'Flameeyes' Pettenò2008-11-211-26/+15
| | | | Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
* Merge branch 'master' of git://git.flameeyes.eu/others/alsa/alsa-utilsTakashi Iwai2008-11-132-11/+11
|\
| * Nowadays Gentoo also uses update-modules, so update alsaconf.Diego 'Flameeyes' Pettenò2008-11-131-7/+6
| | | | | | | | | | | | | | | | | | This was originally reported as Gentoo bug #193303 ( https://bugs.gentoo.org/show_bug.cgi?id=193303 ). Original patch by Jack Kelly <endgame.dos@gmail.com> Signed-off-by: Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>