]> git.alsa-project.org Git - alsa-utils.git/log
alsa-utils.git
16 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>
16 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>
16 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>
16 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>
16 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>
16 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

16 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>
16 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>
16 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>
16 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

16 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>
16 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>
16 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>
16 years agoRelease v1.0.18 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>
16 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>
16 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>
16 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>
16 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>
17 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>
17 years agoRelease v1.0.18rc3 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>
17 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

17 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>
17 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>
17 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>
17 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>
17 years agoRelease v1.0.18rc2 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 years agoRelease v1.0.18rc1 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>
17 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>
17 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

17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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

17 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>
17 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>
17 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>
17 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>
17 years agoRelease v1.0.17 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>
17 years agoRelease v1.0.17rc2 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>
17 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>
17 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>
17 years agoRelease v1.0.17rc1 v1.0.17rc1
Jaroslav Kysela [Tue, 3 Jun 2008 08:21:08 +0000 (10:21 +0200)]
Release v1.0.17rc1

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
17 years agohgcompile -> gitcompile
Jaroslav Kysela [Tue, 3 Jun 2008 08:14:56 +0000 (10:14 +0200)]
hgcompile -> gitcompile

17 years agorenamed hgcompile to gitcompile
Jaroslav Kysela [Tue, 20 May 2008 11:32:28 +0000 (13:32 +0200)]
renamed hgcompile to gitcompile

17 years ago.hgignore -> .gitignore and removed .hgtags
Jaroslav Kysela [Tue, 20 May 2008 11:23:26 +0000 (13:23 +0200)]
.hgignore -> .gitignore and removed .hgtags

17 years agospeaker-test.c - fix pink noise generator on big-endian archs
Giuliano Pochini [Mon, 28 Apr 2008 07:16:27 +0000 (09:16 +0200)]
speaker-test.c - fix pink noise generator on big-endian archs

This patch makes speaker-test fill the buffers with properly coded data on
both big- and little-endian processors.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
17 years agospeaker-test.c - fix sine generator on big-endian archs
Takashi Iwai [Mon, 21 Apr 2008 13:19:27 +0000 (15:19 +0200)]
speaker-test.c - fix sine generator on big-endian archs

speaker-test doesn't work well when you choose a little-endian format on a
big-endian processor, or the opposite. Yes, I know about plughw:, but for
debugging purposes it may not be an option. The following patch add proper
support for S32 and S16 support for but LE and BE processors:

- The "if (bits-per-sample)" construct was replaced by case (format).
- Support for S16_BE, S32_BE formats was added.
- S16_LE and S32_LE were made compatible with big-endian processors.
- NB: The pink noise generator wasn't changed (I'll do if this patch is OK).

From: Giuliano Pochini <pochini@shiny.it>

17 years agoaplay - Fix a compile warning
Takashi Iwai [Wed, 16 Apr 2008 12:43:01 +0000 (14:43 +0200)]
aplay - Fix a compile warning

aplay.c: In function ‘compute_max_peak’:
aplay.c:1327: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’

17 years agoAdd check of ncurses*-config
Takashi Iwai [Wed, 16 Apr 2008 12:39:41 +0000 (14:39 +0200)]
Add check of ncurses*-config

The recent ncurses package provides ncurses*-config program to give the
proper cflags and libs.  Let's use them if available.

Right now, the ncurses version (5) is hard-coded.  It should be better
to be variable as well, but it'd be messy.  Hope the ncurses version won't
change rapidly.

17 years agoaplay - Add stereo VU-meter support
Takashi Iwai [Fri, 14 Mar 2008 13:11:06 +0000 (14:11 +0100)]
aplay - Add stereo VU-meter support

Added the support of stereo VU-meter.
Enabled via -Vs option.

The new option, -V, can be used to enable the VU-meter.  Now
VU-meter can be enabled even without -vv.

17 years agoSupport for playing WAV files with "extensible format" header using aplay.
Pawel MOLL [Thu, 6 Mar 2008 16:34:21 +0000 (17:34 +0100)]
Support for playing WAV files with "extensible format" header using aplay.

WAV files with more than 2 channels or with more than 16 bits per samples
can be saved with "extensible format" chunk
(see http://msdn2.microsoft.com/en-us/library/ms713496(VS.85).aspx).
For instance, sox, when converting data to 24- or 32-bits per sample format
uses this format, and aplay was unable to play such file. Now the problem
is solved :-)

Signed-off-by: Pawel MOLL <pawel.moll@st.com>
17 years agoaseqdump: flush output
Clemens Ladisch [Thu, 21 Feb 2008 08:12:53 +0000 (09:12 +0100)]
aseqdump: flush output

Flush the output after all currently available events have been printed
to allow filtering interactive output through a pipe.

17 years agofix poll timeout
Clemens Ladisch [Thu, 21 Feb 2008 08:12:27 +0000 (09:12 +0100)]
fix poll timeout

Use an infinite poll timeout to prevent unnecessary wakeups.

17 years agoaseqdump: increase verbosity
Clemens Ladisch [Thu, 21 Feb 2008 08:11:58 +0000 (09:11 +0100)]
aseqdump: increase verbosity

Include the names of parameters when printing events instead of just
showing the raw values.

17 years agoRequire alsa-lib 1.0.16
Takashi Iwai [Mon, 11 Feb 2008 13:22:51 +0000 (14:22 +0100)]
Require alsa-lib 1.0.16

Require alsa-lib 1.0.16 and remove the superfluous check in configure
script.

17 years agoaplay/arecord - Add support for IEEE float 32-bit WAV files
Andrew Paprocki [Wed, 6 Feb 2008 13:05:07 +0000 (14:05 +0100)]
aplay/arecord - Add support for IEEE float 32-bit WAV files

This patch modifies aplay/arecord to support playing/capturing IEEE float
32-bit WAV files. Tested on HDA hardware in both stereo and multi-channel
modes. Added the WAV file constant for Dolby AC-3 S/PDIF passthrough to
formats.h for future use when AC-3 passthrough is better supported.

Signed-off-by: Andrew Paprocki <andrew@ishiboo.com>
17 years agoAdded tag v1.0.16 for changeset 16f32be6b8b9
Jaroslav Kysela [Tue, 5 Feb 2008 09:08:11 +0000 (10:08 +0100)]
Added tag v1.0.16 for changeset 16f32be6b8b9

17 years agorelease 1.0.16 v1.0.16
Jaroslav Kysela [Tue, 5 Feb 2008 09:08:11 +0000 (10:08 +0100)]
release 1.0.16
Patch-level: Merged

17 years agoiecset - Add -n option
Takashi Iwai [Tue, 5 Feb 2008 07:11:02 +0000 (08:11 +0100)]
iecset - Add -n option

Added -n option to iecset to specify the index number of the control
element.  This is needed for handling multiple SPDIF devices.

17 years agoAdded tag v1.0.16rc1 for changeset 8907a06eb707
Jaroslav Kysela [Mon, 21 Jan 2008 09:42:48 +0000 (10:42 +0100)]
Added tag v1.0.16rc1 for changeset 8907a06eb707

17 years agorelease 1.0.16rc1 v1.0.16rc1
Jaroslav Kysela [Mon, 21 Jan 2008 09:42:48 +0000 (10:42 +0100)]
release 1.0.16rc1
Patch-level: Merged

17 years agoRemove xfer_align
Takashi Iwai [Tue, 8 Jan 2008 17:39:06 +0000 (18:39 +0100)]
Remove xfer_align

The xfer_align is the obsolete feature now.  Remove it from aplay
and speaker-test to avoid deprecated calls.

17 years agoRemove sleep_min from aplay
Takashi Iwai [Tue, 8 Jan 2008 17:38:32 +0000 (18:38 +0100)]
Remove sleep_min from aplay

The sleep_min is the obsolete feature now.  Remove it from aplay.

17 years agoalsamixer: add 8-channel support
Clemens Ladisch [Mon, 7 Jan 2008 11:28:43 +0000 (12:28 +0100)]
alsamixer: add 8-channel support

Add support for playback volume controls with 8 channels.
This allows controlling the side channels on 7.1 devices.

17 years agoalsactl: skip inactive controls
Takashi Iwai [Mon, 17 Dec 2007 10:49:00 +0000 (11:49 +0100)]
alsactl: skip inactive controls

When using alsactl to save or restore the card settings, it currently
skips over controls that don't have the appropriate read/write
permissions. It should also skip over inactive controls, otherwise it
will get an error when it tries to access that control, and will fail to
save the card state (or fully restore it.)

From: Dave Dillow <dave@thedillows.org>

17 years agoaplay - Reset non-blocking flag before snd_pcm_drain()
Takashi Iwai [Fri, 14 Dec 2007 14:29:51 +0000 (15:29 +0100)]
aplay - Reset non-blocking flag before snd_pcm_drain()

snd_pcm_drain() doesn't block when running with O_NONBLOCK.
Reset the non-blocking mode before calling snd_pcm_drain() properly
(and restore again for any further operations).

17 years agoalsactl - Fix wrong restore
Takashi Iwai [Fri, 30 Nov 2007 16:20:39 +0000 (17:20 +0100)]
alsactl - Fix wrong restore

Fix a bug in alsactl that restores wrong values for elements with
multiple channels (counts).

17 years agoiecset: fix card index check
Clemens Ladisch [Fri, 30 Nov 2007 07:14:04 +0000 (08:14 +0100)]
iecset: fix card index check

Allow card indices up to 31.

17 years agoalsactl - Set -F option as default
Takashi Iwai [Wed, 14 Nov 2007 10:54:38 +0000 (11:54 +0100)]
alsactl - Set -F option as default

Set -F option as default for restore.  There are still too many systems
that are too lazy to set -F option...

Added the new -P option to back to the old behavior.

17 years agoalsactl - fix double entry of comment.tlv
Takashi Iwai [Mon, 12 Nov 2007 16:24:27 +0000 (17:24 +0100)]
alsactl - fix double entry of comment.tlv

The entry comment.tlv can be doubly written via alsactl store, and this
results in an error.  I forgot to remove the old code...

17 years agospeaker-test - Put errors to stderr
Takashi Iwai [Mon, 5 Nov 2007 11:44:13 +0000 (12:44 +0100)]
speaker-test - Put errors to stderr

Error messages should be shown in stderr.

17 years agospeaker-test - Fix number of periods to play
Takashi Iwai [Mon, 5 Nov 2007 11:40:35 +0000 (12:40 +0100)]
speaker-test - Fix number of periods to play

The number of periods to play in pink and sine modes could be calculated
as zero, which results in just silence.  Make the minimal value 1.

17 years agoAdd missing inclusion of assert.h
Takashi Iwai [Thu, 25 Oct 2007 13:39:19 +0000 (15:39 +0200)]
Add missing inclusion of assert.h

17 years agoalsactl - restore dB level
Takashi Iwai [Wed, 24 Oct 2007 11:53:14 +0000 (13:53 +0200)]
alsactl - restore dB level

When alsactl saved state has dB level information and an attribute
of a control element is changed after save (e.g. volume range is
changed), try to restore the values to keep the same dB level.

This change requires the new alsa-lib functions for TLV dB
conversion, so we check it in configure (until AM_PATH_ALSA(1.0.16)
works).

17 years agoMake alsactl restore a bit more robust
Takashi Iwai [Wed, 24 Oct 2007 11:08:28 +0000 (13:08 +0200)]
Make alsactl restore a bit more robust

Make "alsactl restore" a bit more robust.  Now it tries to parse the
compound items in the case that the number of channels was changed.
The former mono-value is expanded to all channels.

17 years agoAdded tag v1.0.15 for changeset 3b8e4ee4363e
Jaroslav Kysela [Mon, 15 Oct 2007 08:36:47 +0000 (10:36 +0200)]
Added tag v1.0.15 for changeset 3b8e4ee4363e

17 years agorelease 1.0.15 v1.0.15
Jaroslav Kysela [Mon, 15 Oct 2007 08:36:47 +0000 (10:36 +0200)]
release 1.0.15
Patch-level: Merged

17 years agoChanged Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz
Jaroslav Kysela [Mon, 15 Oct 2007 08:25:17 +0000 (10:25 +0200)]
Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz

17 years agoarecordmidi: mention SMF type in man page
Clemens Ladisch [Mon, 17 Sep 2007 07:44:29 +0000 (09:44 +0200)]
arecordmidi: mention SMF type in man page

Document the SMF type (0 or 1) that will be generated by arecordmidi.

18 years agoAdded tag v1.0.15rc1 for changeset cd39f6c9aa57
Jaroslav Kysela [Thu, 30 Aug 2007 08:23:35 +0000 (10:23 +0200)]
Added tag v1.0.15rc1 for changeset cd39f6c9aa57

18 years agorelease 1.0.15rc1 v1.0.15rc1
Jaroslav Kysela [Thu, 30 Aug 2007 08:23:34 +0000 (10:23 +0200)]
release 1.0.15rc1
Patch-level: Merged

18 years agoalsamixer - Handle capture enums separately
Takashi Iwai [Wed, 29 Aug 2007 12:49:55 +0000 (14:49 +0200)]
alsamixer - Handle capture enums separately

The capture enum controls should appear only in capture and all views.
This is a fix for Input Source enum controls.

18 years agoalsactl - Remove debug print
Takashi Iwai [Wed, 15 Aug 2007 13:38:01 +0000 (15:38 +0200)]
alsactl - Remove debug print

Remove an old debug print that simply annoys.

18 years agoaplay - Include missing time.h for time()
Takashi Iwai [Tue, 7 Aug 2007 13:36:41 +0000 (15:36 +0200)]
aplay - Include missing time.h for time()

With salsa-lib,
  aplay.c: In function ‘compute_max_peak’:
  aplay.c:1207: warning: implicit declaration of function ‘time’

18 years agoamixer - Allow to pass enum item string for cset, too
Takashi Iwai [Tue, 31 Jul 2007 15:29:45 +0000 (17:29 +0200)]
amixer - Allow to pass enum item string for cset, too

cset accepts only integer values as indices, so far, but it's a bit
unfriendly.  Now it accepts the item name as a string argument, too.
The index can be given using numbers as fallback.

18 years agoIgnore errors with -s option
Takashi Iwai [Tue, 24 Jul 2007 13:19:34 +0000 (15:19 +0200)]
Ignore errors with -s option

Ignore non-fatal errors when stdin is parsed with -s option.

18 years agoaplay - Fix VU meter
Takashi Iwai [Thu, 12 Jul 2007 15:02:18 +0000 (17:02 +0200)]
aplay - Fix VU meter

Fix spaces displayed in VU meter to match with the actual max lengh (51).

18 years agoalsaconf - Don't produce hwcfg file for openSUSE 10.3
Takashi Iwai [Thu, 12 Jul 2007 13:22:06 +0000 (15:22 +0200)]
alsaconf - Don't produce hwcfg file for openSUSE 10.3

hwcfg file is no longer used on openSUSE 10.3, so don't create such a file
on it.

18 years agoaplay - Fix possible endless loop with SIGBART
Takashi Iwai [Thu, 12 Jul 2007 13:20:52 +0000 (15:20 +0200)]
aplay - Fix possible endless loop with SIGBART

The signal handler may cause endless loop with SIGABRT.