OSDN Git Service

android-x86/external-alsa-utils.git
14 years agoalsactl init: use empty GOTOs in init/default file to increase readability
Jaroslav Kysela [Wed, 7 Oct 2009 11:41:13 +0000 (13:41 +0200)]
alsactl init: use empty GOTOs in init/default file to increase readability

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
14 years agoalsactl: introduce CTL{write} to match directly written CTL values
Jaroslav Kysela [Wed, 7 Oct 2009 08:37:40 +0000 (10:37 +0200)]
alsactl: introduce CTL{write} to match directly written CTL values

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
14 years agoalsactl - Initialize Speaker volume to 0dB when Master is present
Takashi Iwai [Wed, 12 Aug 2009 10:45:05 +0000 (12:45 +0200)]
alsactl - Initialize Speaker volume to 0dB when Master is present

Initialize Speaker volume to 0dB as well as Headphone when Master
is present.  Also initialize Headphone,1 for machines with dual
headphones.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 years agoalsactl init: Fix typo "(" -> "{" in Headphone default rule
Jaroslav Kysela [Wed, 2 Sep 2009 12:31:49 +0000 (14:31 +0200)]
alsactl init: Fix typo "(" -> "{" in Headphone default rule

Reported-by: Philipp Jocham <philipp.jocham@gmx.net>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
14 years agoalsamixer: Improve set_escdelay() function availability detection
Jaroslav Kysela [Mon, 31 Aug 2009 15:03:04 +0000 (17:03 +0200)]
alsamixer: Improve set_escdelay() function availability detection

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
14 years agoRelease v1.0.21
Jaroslav Kysela [Mon, 31 Aug 2009 13:09:38 +0000 (15:09 +0200)]
Release v1.0.21

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 years agoaplaymidi: reduce bandwidth for big SysEx messages
Clemens Ladisch [Mon, 17 Aug 2009 10:29:11 +0000 (12:29 +0200)]
aplaymidi: reduce bandwidth for big SysEx messages

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>
15 years agoalsamixer: fix display of inactive volume bar
Clemens Ladisch [Fri, 19 Jun 2009 06:40:00 +0000 (08:40 +0200)]
alsamixer: fix display of inactive volume bar

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>
15 years agoalsamixer: rename attr to ch
Clemens Ladisch [Fri, 19 Jun 2009 06:39:24 +0000 (08:39 +0200)]
alsamixer: rename attr to ch

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>
15 years agoalsactl init rules: fix Lenovo T61 initialization (Speaker Playback Switch)
Jaroslav Kysela [Thu, 18 Jun 2009 13:20:15 +0000 (15:20 +0200)]
alsactl init rules: fix Lenovo T61 initialization (Speaker Playback Switch)

See: https://bugzilla.redhat.com/show_bug.cgi?id=506266

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 years agoalsamixer - Tricolorize volume bars
Takashi Iwai [Thu, 18 Jun 2009 12:42:28 +0000 (14:42 +0200)]
alsamixer - Tricolorize volume bars

A little of bit of Italian taste was missing...

Signed-off-by: Takashi Iwai <tiwai@suse.de>
15 years agoalsamixer: update man page
Clemens Ladisch [Tue, 2 Jun 2009 09:19:45 +0000 (11:19 +0200)]
alsamixer: update man page

Update man page for change in "CAPTURE" field.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
15 years agoalsamixer: fix text box clipping with multi-column characters
Clemens Ladisch [Thu, 28 May 2009 07:16:11 +0000 (09:16 +0200)]
alsamixer: fix text box clipping with multi-column characters

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>
15 years agoUpdate ja.po for alsamixer
Takashi Iwai [Wed, 27 May 2009 13:08:45 +0000 (15:08 +0200)]
Update ja.po for alsamixer

Signed-off-by: Takashi Iwai <tiwai@suse.de>
15 years agoalsamixer - Fix uninitialized variable warning
Takashi Iwai [Wed, 27 May 2009 12:16:30 +0000 (14:16 +0200)]
alsamixer - Fix uninitialized variable warning

Signed-off-by: Takashi Iwai <tiwai@suse.de>
15 years agoadd German translations
Clemens Ladisch [Mon, 25 May 2009 08:31:06 +0000 (10:31 +0200)]
add German translations

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
15 years agoalsamixer: show channel names for multichannel controls
Clemens Ladisch [Mon, 25 May 2009 08:26:22 +0000 (10:26 +0200)]
alsamixer: show channel names for multichannel controls

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>
15 years agoalsactl: init - fix default configuration for ENS1370
Jaroslav Kysela [Thu, 21 May 2009 14:44:42 +0000 (16:44 +0200)]
alsactl: init - fix default configuration for ENS1370

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 years agoalsactl: fixed Headphone Playback Volume setting in default rules
Jaroslav Kysela [Fri, 15 May 2009 10:37:48 +0000 (12:37 +0200)]
alsactl: fixed Headphone Playback Volume setting in default rules

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 years agospeaker-test: only check byte order once
Dan McGee [Sun, 10 May 2009 00:47:40 +0000 (02:47 +0200)]
speaker-test: only check byte order once

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>
15 years agospeaker-test: move existing endian macros up in the file
Dan McGee [Sun, 10 May 2009 00:47:39 +0000 (02:47 +0200)]
speaker-test: move existing endian macros up in the file

This is necessary for a later patch removing the various endianness checks
sprinkled throughout the code.

Signed-off-by: Dan McGee <dpmcgee@gmail.com>
15 years agoRemove dead/commented out code
Dan McGee [Sun, 10 May 2009 00:27:07 +0000 (02:27 +0200)]
Remove dead/commented out code

Signed-off-by: Dan McGee <dpmcgee@gmail.com>
15 years agoAllow frequencies down to 30 Hz
Dan McGee [Sun, 10 May 2009 00:27:06 +0000 (02:27 +0200)]
Allow frequencies down to 30 Hz

Signed-off-by: Dan McGee <dpmcgee@gmail.com>
15 years agospeaker-test: allow frequency to be floating point
Dan McGee [Sun, 10 May 2009 00:27:05 +0000 (02:27 +0200)]
speaker-test: allow frequency to be floating point

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>
15 years agoRelease v1.0.20
Jaroslav Kysela [Wed, 6 May 2009 07:07:24 +0000 (09:07 +0200)]
Release v1.0.20

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 years agoalsactl: ca0106 initialization files - wrong exit
Jaroslav Kysela [Tue, 5 May 2009 09:12:43 +0000 (11:12 +0200)]
alsactl: ca0106 initialization files - wrong exit

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 years agoalsactl: add ca0106 initialization file
Jaroslav Kysela [Tue, 5 May 2009 09:10:35 +0000 (11:10 +0200)]
alsactl: add ca0106 initialization file

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>
15 years agoalsactl: changes in initialization files
Jaroslav Kysela [Tue, 5 May 2009 08:33:08 +0000 (10:33 +0200)]
alsactl: changes in initialization files

- 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>
15 years agoalsactl: fix sysfsroot path and parser extensions
Jaroslav Kysela [Thu, 30 Apr 2009 09:26:15 +0000 (11:26 +0200)]
alsactl: fix sysfsroot path and parser extensions

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>
15 years agoalsactl: init rules - fix HDA Conexact codec PCM initialization
Jaroslav Kysela [Tue, 28 Apr 2009 09:19:48 +0000 (11:19 +0200)]
alsactl: init rules - fix HDA Conexact codec PCM initialization

15 years agoALSA: Added vi-like key bindings to alsamixer.
Simon Hengel [Wed, 1 Apr 2009 19:51:21 +0000 (21:51 +0200)]
ALSA: Added vi-like key bindings to alsamixer.

* 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>
15 years agoalsactl/init: Fix CTL{value} assigning - make it relevant to documentation
Jaroslav Kysela [Wed, 15 Apr 2009 06:57:39 +0000 (08:57 +0200)]
alsactl/init: Fix CTL{value} assigning - make it relevant to documentation

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 years agoaplay/arecord: improve suspicious buffer detection and add --test-coef parameter
Jaroslav Kysela [Thu, 9 Apr 2009 07:48:27 +0000 (09:48 +0200)]
aplay/arecord: improve suspicious buffer detection and add --test-coef parameter

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 years agoaplay/arecord: remove debug printfs introduced by previous patch
Jaroslav Kysela [Wed, 8 Apr 2009 16:15:56 +0000 (18:15 +0200)]
aplay/arecord: remove debug printfs introduced by previous patch

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 years agoaplay/arecord: fix underrun/overrun time calculation for monotonic clock
Jaroslav Kysela [Wed, 8 Apr 2009 07:22:16 +0000 (09:22 +0200)]
aplay/arecord: fix underrun/overrun time calculation for monotonic clock

Also, add librt check to configure.in.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 years agoalsaconf - prefer /etc/modprobe.d/sound/50-sound.conf
Takashi Iwai [Wed, 18 Mar 2009 11:10:55 +0000 (12:10 +0100)]
alsaconf - prefer /etc/modprobe.d/sound/50-sound.conf

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>
15 years agoalsactl - Add missing -I option
Takashi Iwai [Fri, 20 Feb 2009 17:01:58 +0000 (18:01 +0100)]
alsactl - Add missing -I option

Signed-off-by: Takashi Iwai <tiwai@suse.de>
15 years agospeaker-test.c - add readability comments to speaker channels
Wu Fengguang [Fri, 20 Feb 2009 16:59:51 +0000 (17:59 +0100)]
speaker-test.c - add readability comments to speaker channels

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
15 years agoFix misc compile warnings in alsactl
Takashi Iwai [Wed, 18 Feb 2009 14:34:57 +0000 (15:34 +0100)]
Fix misc compile warnings in alsactl

  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>
15 years agoalsactl: init - modify default rule to better support some HDA codecs
Jaroslav Kysela [Thu, 5 Feb 2009 11:58:42 +0000 (12:58 +0100)]
alsactl: init - modify default rule to better support some HDA codecs

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>
15 years agoFix build with partially-installed alsa-lib
Takashi Iwai [Thu, 29 Jan 2009 14:41:31 +0000 (15:41 +0100)]
Fix build with partially-installed alsa-lib

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>
15 years agoUse ANSI C functions
Will Wagner [Mon, 19 Jan 2009 13:19:10 +0000 (14:19 +0100)]
Use ANSI C functions

Replace non-ANSI C functions index() and rindex() with strchr() and
strrchr(), respectively.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
15 years agoRelease v1.0.19
Jaroslav Kysela [Mon, 19 Jan 2009 11:17:19 +0000 (12:17 +0100)]
Release v1.0.19

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 years agoFix wrong direction check in aplay/arecord --list-pcms
Peter Stokes [Mon, 12 Jan 2009 11:29:41 +0000 (12:29 +0100)]
Fix wrong direction check in aplay/arecord --list-pcms

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>
15 years agoaseqnet - Add $(INTLLIBS) to Makefile.am
Takashi Iwai [Mon, 8 Dec 2008 10:59:27 +0000 (11:59 +0100)]
aseqnet - Add $(INTLLIBS) to Makefile.am

Add $(INTLLIBS) to LDADD for aseqnet to fix build errors on uclibc
(and possibly others).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
15 years agoalsa-utils check if __USE_BSD is defined before compiling "BSD functions"
Hans-Christian Egtvedt [Mon, 8 Dec 2008 10:55:27 +0000 (11:55 +0100)]
alsa-utils check if __USE_BSD is defined before compiling "BSD functions"

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>
15 years agoMerge branch 'master' of git@git.alsa-project.org:alsa-utils
Takashi Iwai [Wed, 26 Nov 2008 13:32:46 +0000 (14:32 +0100)]
Merge branch 'master' of git@git.alsa-project.org:alsa-utils

15 years agospeaker-test: Fix floating-point exception bug
Takashi Iwai [Wed, 26 Nov 2008 13:27:24 +0000 (14:27 +0100)]
speaker-test: Fix floating-point exception bug

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>
15 years agoalsactl: Fix restore / init call behaviour when driver contains more controls
Jaroslav Kysela [Fri, 21 Nov 2008 13:44:31 +0000 (14:44 +0100)]
alsactl: Fix restore / init call behaviour when driver contains more controls

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>
15 years agoMake some static tables and strings constants.
Diego E. 'Flameeyes' Pettenò [Fri, 21 Nov 2008 12:10:02 +0000 (13:10 +0100)]
Make some static tables and strings constants.

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>
15 years agoMark static the functions not used outside their unit.
Diego E. 'Flameeyes' Pettenò [Fri, 21 Nov 2008 12:09:56 +0000 (13:09 +0100)]
Mark static the functions not used outside their unit.

This way the compiler can assume more information about their
interface for optimisation.

Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
15 years agoRemove some unused variables.
Diego E. 'Flameeyes' Pettenò [Fri, 21 Nov 2008 12:09:52 +0000 (13:09 +0100)]
Remove some unused variables.

Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
15 years agoRemove some dead code (comparisons between 0 and unsigned integers).
Diego E. 'Flameeyes' Pettenò [Fri, 21 Nov 2008 12:09:45 +0000 (13:09 +0100)]
Remove some dead code (comparisons between 0 and unsigned integers).

Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
15 years agoMerge branch 'master' of git://git.flameeyes.eu/others/alsa/alsa-utils
Takashi Iwai [Thu, 13 Nov 2008 13:30:01 +0000 (14:30 +0100)]
Merge branch 'master' of git://git.flameeyes.eu/others/alsa/alsa-utils

15 years agoNowadays Gentoo also uses update-modules, so update alsaconf.
Diego 'Flameeyes' Pettenò [Thu, 13 Nov 2008 12:23:04 +0000 (13:23 +0100)]
Nowadays Gentoo also uses update-modules, so update alsaconf.

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>
15 years agoCreate a special fd redirection for menu choice.
grdscarabe@grdscarabe.net [Thu, 13 Nov 2008 12:22:55 +0000 (13:22 +0100)]
Create a special fd redirection for menu choice.

Without this patch, dialog errors gets interpreted as the choice,
causing errors related to loading "snd-***" module.

The problem was reported as Gentoo bug #96467 (
https://bugs.gentoo.org/show_bug.cgi?id=96467 ).

Signed-off-by: Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>
15 years agoMove conditional inclusion of locale.h further down.
Diego 'Flameeyes' Pettenò [Thu, 13 Nov 2008 12:22:13 +0000 (13:22 +0100)]
Move conditional inclusion of locale.h further down.

Without this patch, ENABLE_NLS is checked before ever being defined
(aconfig.h is not yet included), and thus locale.h would never be
included even when NLS is enabled.

Signed-off-by: Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>
15 years agoMerge branch 'master' of git@git.alsa-project.org:alsa-utils
Takashi Iwai [Thu, 13 Nov 2008 08:29:40 +0000 (09:29 +0100)]
Merge branch 'master' of git@git.alsa-project.org:alsa-utils

15 years agoAdd -I option to alsactl
Takashi Iwai [Thu, 13 Nov 2008 08:28:43 +0000 (09:28 +0100)]
Add -I option to alsactl

Add -I option to alsactl to take back the old restore behavior without
initialization.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
15 years agoalsaconf: add Slackware support
Clemens Ladisch [Mon, 10 Nov 2008 08:23:07 +0000 (09:23 +0100)]
alsaconf: add Slackware support

Add Slackware support.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
15 years agoAdd --disable-xmlto configure option
Takashi Iwai [Thu, 30 Oct 2008 10:50:17 +0000 (11:50 +0100)]
Add --disable-xmlto configure option

Added the check of xmlto program in configure script.
Also added --disable-xmlto configure option for systems with a broken
or older xmlto that doesn't work properly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
15 years agoRelease v1.0.18
Jaroslav Kysela [Wed, 29 Oct 2008 12:42:11 +0000 (13:42 +0100)]
Release v1.0.18

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 years agoiecset - Add missing help text for -n option
Takashi Iwai [Fri, 24 Oct 2008 09:48:57 +0000 (11:48 +0200)]
iecset - Add missing help text for -n option

Signed-off-by: Takashi Iwai <tiwai@suse.de>
15 years agoaplay/arecord: add --test-position test
Jaroslav Kysela [Thu, 23 Oct 2008 09:13:24 +0000 (11:13 +0200)]
aplay/arecord: add --test-position test

In some cases (HDA audio) the ring buffer position values returned
from alsa-lib are inaccurate. The added --test-position option will
print suspicious values.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 years agoAdd --disable-alsaconf to configure script
Jaroslav Kysela [Tue, 23 Sep 2008 06:10:19 +0000 (08:10 +0200)]
Add --disable-alsaconf to configure script

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 years agoalsactl: Add -g,--ignore option to ignore 'No soundcards found' error
Jaroslav Kysela [Thu, 18 Sep 2008 07:40:02 +0000 (09:40 +0200)]
alsactl: Add -g,--ignore option to ignore 'No soundcards found' error

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 years agoalsactl: Fix oops (when parsing card argument)
Jaroslav Kysela [Thu, 11 Sep 2008 11:39:42 +0000 (13:39 +0200)]
alsactl: Fix oops (when parsing card argument)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 years agoRelease v1.0.18rc3
Jaroslav Kysela [Tue, 9 Sep 2008 16:55:50 +0000 (18:55 +0200)]
Release v1.0.18rc3

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 years agoMerge branch 'master' of git@git.alsa-project.org:alsa-utils
Jaroslav Kysela [Tue, 9 Sep 2008 10:54:17 +0000 (12:54 +0200)]
Merge branch 'master' of git@git.alsa-project.org:alsa-utils

15 years agoaplay - show sample arrangement (mmap areas) in verbose more for debugging
Jaroslav Kysela [Tue, 9 Sep 2008 10:53:28 +0000 (12:53 +0200)]
aplay - show sample arrangement (mmap areas) in verbose more for debugging

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 years agoAdd arecord to .gitignore
Takashi Iwai [Mon, 25 Aug 2008 06:08:55 +0000 (08:08 +0200)]
Add arecord to .gitignore

Signed-off-by: Takashi Iwai <tiwai@suse.de>
15 years agoRemove unneeded files from EXTRA_DIST in root Makefile.am
Takashi Iwai [Mon, 25 Aug 2008 06:07:56 +0000 (08:07 +0200)]
Remove unneeded files from EXTRA_DIST in root Makefile.am

automake packages such filse automatically.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
15 years agoAdd missing files to be included in alsactl/Makefile.am
Takashi Iwai [Mon, 25 Aug 2008 06:07:13 +0000 (08:07 +0200)]
Add missing files to be included in alsactl/Makefile.am

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years agoRelease v1.0.18rc2
Jaroslav Kysela [Tue, 19 Aug 2008 11:41:00 +0000 (13:41 +0200)]
Release v1.0.18rc2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoalsactl.1 - explicitly notify about ALSA_CONFIG_PATH environment variable
Jaroslav Kysela [Tue, 19 Aug 2008 11:38:26 +0000 (13:38 +0200)]
alsactl.1 - explicitly notify about ALSA_CONFIG_PATH environment variable

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoalsactl init - fix memory leaks (valgrind helped)
Jaroslav Kysela [Tue, 19 Aug 2008 11:28:22 +0000 (13:28 +0200)]
alsactl init - fix memory leaks (valgrind helped)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoalsactl init - fixed EXTRA_DIST typo in alsactl/init subdirectory
Jaroslav Kysela [Mon, 18 Aug 2008 15:02:17 +0000 (17:02 +0200)]
alsactl init - fixed EXTRA_DIST typo in alsactl/init subdirectory

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoalsactl: Allow card specification by device name (support for udev)
Jaroslav Kysela [Mon, 18 Aug 2008 14:57:18 +0000 (16:57 +0200)]
alsactl: Allow card specification by device name (support for udev)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoalsactl - remove 'names' command, fix alsactl man page
Jaroslav Kysela [Mon, 18 Aug 2008 14:47:33 +0000 (16:47 +0200)]
alsactl - remove 'names' command, fix alsactl man page

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoalsactl init - add default command to help config and fix packaging
Jaroslav Kysela [Mon, 18 Aug 2008 14:27:45 +0000 (16:27 +0200)]
alsactl init - add default command to help config and fix packaging

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoalsactl init - CTL{values}, CTL{enums} and default "guess method" initialization
Jaroslav Kysela [Mon, 18 Aug 2008 13:01:44 +0000 (15:01 +0200)]
alsactl init - CTL{values}, CTL{enums} and default "guess method" initialization

Implemented CTL{values)=value to set all values at once.
Implemented CTL{enums} to match against strings in enum list.
Added 'default' (guess method) initialization configuration.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoalsactl init - add ATTR{dBmin} and ATTR{dBmax}
Jaroslav Kysela [Mon, 18 Aug 2008 10:39:26 +0000 (12:39 +0200)]
alsactl init - add ATTR{dBmin} and ATTR{dBmax}

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoRelease v1.0.18rc1
Jaroslav Kysela [Fri, 15 Aug 2008 11:30:26 +0000 (13:30 +0200)]
Release v1.0.18rc1

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoalsactl init - fixed enumeration string setting, update Lenovo T61 config (dB)
Jaroslav Kysela [Thu, 14 Aug 2008 15:51:46 +0000 (17:51 +0200)]
alsactl init - fixed enumeration string setting, update Lenovo T61 config (dB)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoalsactl init - modified configuration for Acer Travelmate 8100
Jaroslav Kysela [Thu, 14 Aug 2008 15:48:48 +0000 (17:48 +0200)]
alsactl init - modified configuration for Acer Travelmate 8100

16 years agoalsactl init - restore calls also init on failure
Jaroslav Kysela [Thu, 14 Aug 2008 14:46:27 +0000 (16:46 +0200)]
alsactl init - restore calls also init on failure

The initialization procedure consist from default initialization and
state restoration. When restore fails for a reason or the config file
contains inaccurate information, then init is called.

Also, if something fails (init or restore), a file specified using -r
option can be created with description what failed. It can be useful
when user space decides to notify user to set the sound driver properly.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoamixer - fixed TLV dBscale and added dBrange parsing
Jaroslav Kysela [Thu, 14 Aug 2008 12:57:19 +0000 (14:57 +0200)]
amixer - fixed TLV dBscale and added dBrange parsing

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoalsactl init - add dB and percentual CTL{value} parsing for integer values
Jaroslav Kysela [Thu, 14 Aug 2008 12:08:22 +0000 (14:08 +0200)]
alsactl init - add dB and percentual CTL{value} parsing for integer values

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoalsactl init - allow enum specification by name strings
Jaroslav Kysela [Thu, 14 Aug 2008 09:21:59 +0000 (11:21 +0200)]
alsactl init - allow enum specification by name strings

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoalsactl init configuration syntax changes
Jaroslav Kysela [Wed, 13 Aug 2008 18:49:07 +0000 (20:49 +0200)]
alsactl init configuration syntax changes

- change SYSFS_DEVICE to CONFIG{sysfs_device}
- INCLUDE key now handles also directories
- RESULT key can assign value now
- EXIT="return" operation returns from included file immediately

Default 00main and hda configuration files changes:

- handle preinit and postinit directories

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoalsactl - install initialization files
Jaroslav Kysela [Wed, 13 Aug 2008 10:26:50 +0000 (12:26 +0200)]
alsactl - install initialization files

Also, spearate SOUNDSDIR and DATADIR in configure.in.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoalsactl init - Fix Lenovo T61 configuraton
Jaroslav Kysela [Wed, 13 Aug 2008 09:40:43 +0000 (11:40 +0200)]
alsactl init - Fix Lenovo T61 configuraton

16 years agoiecset update for new consumer status channel bits
Pawel MOLL [Fri, 1 Aug 2008 10:23:58 +0000 (11:23 +0100)]
iecset update for new consumer status channel bits

Added iecset support for some of consumer status channel bits,
new in the third edition od IEC60958-3 spec.

Signed-off-by: Pawel Moll <pawel.moll@st.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoalsactl init: Changed support for Acer Travelmate 8100 (use subvendor and subdevice...
Jaroslav Kysela [Thu, 31 Jul 2008 14:41:54 +0000 (16:41 +0200)]
alsactl init: Changed support for Acer Travelmate 8100 (use subvendor and subdevice for matching)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoalsactl init: added support for Lenovo T61
Jaroslav Kysela [Thu, 31 Jul 2008 14:40:06 +0000 (16:40 +0200)]
alsactl init: added support for Lenovo T61

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoInitial 'alsactl init' implementation
Jaroslav Kysela [Thu, 31 Jul 2008 13:45:08 +0000 (15:45 +0200)]
Initial 'alsactl init' implementation

See 'man 7 alsactl_init' for more details.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoRelease v1.0.17
Jaroslav Kysela [Mon, 14 Jul 2008 08:57:53 +0000 (10:57 +0200)]
Release v1.0.17

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoRelease v1.0.17rc2
Jaroslav Kysela [Mon, 16 Jun 2008 07:40:43 +0000 (09:40 +0200)]
Release v1.0.17rc2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoalsaconf: use 'type -p', not which
Philippe De Muyter [Fri, 6 Jun 2008 10:25:22 +0000 (12:25 +0200)]
alsaconf:  use 'type -p', not which

Here is a small patch for alsaconf, which removes an useless dependency
on `which' by using a bash built-in instead : `type -p'.  I encountered
the problem of the missing `which' while using alsaconf on a clfs-built
linux system.  It is useless to install `which' when we already have
`type -p', and alsaconf already needs bash, so this does not replace
a dependency by another one, but really removes a dependency for alsaconf.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years agoalsactl: simplify and fix item type detection
Clemens Ladisch [Fri, 6 Jun 2008 07:02:55 +0000 (09:02 +0200)]
alsactl: simplify and fix item type detection

Use snd_ctl_elem_type_name() to detect the value of the type comment
instead of using hardcoded strings.

The types list now also includes the BYTES type (Debian bug 481515).

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>