]>
git.alsa-project.org Git - alsa-utils.git/log
Jaroslav Kysela [Mon, 11 Oct 2010 09:56:16 +0000 (11:56 +0200)]
alsaloop: add --pctl and --cctl options to man page
Signed-off-by: Jaroslav Kysela <perex@perex.cz># Please enter the commit message for your changes. Lines starting
Jaroslav Kysela [Mon, 11 Oct 2010 09:53:50 +0000 (11:53 +0200)]
alsaloop: add --pctl and --cctl options
In some cases it might be usefull to specify another CTL device names.
Add -X/--pctl and -Y/--cctl options.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Mon, 11 Oct 2010 08:24:14 +0000 (10:24 +0200)]
alsaloop: Fixes and added --workaround option
- added workaround for alsa-lib (pthread configuration parsing issue) -
the workaround must be activated manually using ('--workaround serialopen')
- fixed avail_min initialization (caused high CPU usage or xruns)
- fixed shared buffer initialization (both capture and playback buffers
must have equal number of samples in this config)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Fri, 8 Oct 2010 20:23:05 +0000 (22:23 +0200)]
alsaloop: Fix command-line parsing and pollfd initialization
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Fri, 8 Oct 2010 13:10:23 +0000 (15:10 +0200)]
alsaloop: Add OSS mixer redirection support
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Thu, 7 Oct 2010 18:38:36 +0000 (20:38 +0200)]
alsaloop: added resampling for unsupported soundcard rates
- improve also xrun synchronization
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Wed, 6 Oct 2010 22:12:38 +0000 (00:12 +0200)]
alsaloop: fix resample argument parsing
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Wed, 6 Oct 2010 18:34:03 +0000 (20:34 +0200)]
alsaloop: fix -a option and slave mode processing
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Wed, 6 Oct 2010 16:51:29 +0000 (18:51 +0200)]
alsaloop: Fix thread handling
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Wed, 6 Oct 2010 16:30:18 +0000 (18:30 +0200)]
alsaloop: Fix loopbacks pointer initialization and allocation, fix -T option
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Wed, 18 Aug 2010 06:29:03 +0000 (08:29 +0200)]
Introduce alsaloop utility
alsaloop allows create a PCM loopback between a PCM capture device
and a PCM playback device.
alsaloop supports multiple soundcards, adaptive clock synchronization,
adaptive rate resampling using the samplerate library (if available in
the system). Also, mixer controls can be redirected from one card to
another (for example Master and PCM).
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Tue, 5 Oct 2010 08:02:45 +0000 (10:02 +0200)]
amixer: fix parsing of control ID name
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Tue, 7 Sep 2010 15:33:14 +0000 (17:33 +0200)]
alsactl init: Initialize also "Master Front Playback Volume" & "Switch"
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Tue, 7 Sep 2010 15:07:12 +0000 (17:07 +0200)]
alsactl init: Handle "Capture Source" and "Mic Boost" in the default script
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Thu, 2 Sep 2010 13:48:43 +0000 (15:48 +0200)]
alsactl: Change handling of inactive controls
The inactive controls are stored, but they are not restored
when they are marked inactive in the state file or in the
driver.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Thu, 2 Sep 2010 13:36:56 +0000 (15:36 +0200)]
alsactl init: use "generic method" instead "guess method"
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Thu, 2 Sep 2010 13:03:23 +0000 (15:03 +0200)]
alsactl init: Use "Found hardware:" instead "Unknown hardware:"
It seems that "Unknown hardware:" confuses users. Use "Found hardware:"
instead.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Wed, 18 Aug 2010 06:23:09 +0000 (08:23 +0200)]
aplay/arecord: term_c_lflag variable might be unitialized in some cases
The term_c_lflag variable might be unitialized in some cases. Add extra
check to avoid setting of wrong value.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Wed, 18 Aug 2010 06:22:23 +0000 (08:22 +0200)]
speaker-test: add test pattern for PCM layer debugging purposes
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Thu, 15 Jul 2010 11:39:14 +0000 (13:39 +0200)]
aplay: fix termio settings - return back old c_flag value on exit
- symptom - ssh client password authentication does not work with
the modified terminal settings
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Thu, 15 Jul 2010 08:40:21 +0000 (10:40 +0200)]
aplay/arecord: Added hardware pause support (press SPACE or Enter)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Clemens Ladisch [Wed, 26 May 2010 08:37:58 +0000 (10:37 +0200)]
Revert wrong parts of "alsactl: use snd_config_imake* functions"
This reverts the parts of commit
e509df69a5100df28921980362488f6947df0aae
that accidentally reverted a bunch of earlier commits.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Clemens Ladisch [Wed, 26 May 2010 08:28:11 +0000 (10:28 +0200)]
alsactl: change format of comment node in state file
Make the comment node a separate node in the state file (join=0), and
move it after the other fields of the respective control.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Clemens Ladisch [Wed, 26 May 2010 08:27:25 +0000 (10:27 +0200)]
alsactl: correctly restore dB values of controls with changed range
When the range of a control has changed between driver versions, it is a
good idea to restore the same dB value of the control. However,
computing the dB value by interpolating betweem the min/max dB values
duplicates alsa-lib's TLV functions and does not even work for controls
with a linear dB range.
A simple conversion to dB and back can be done if we add the dB value(s)
to the saved state.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Clemens Ladisch [Wed, 26 May 2010 08:19:17 +0000 (10:19 +0200)]
alsactl: remove open-coded search
Remove search_comment_item since it does the same as snd_config_search.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Clemens Ladisch [Wed, 26 May 2010 08:18:43 +0000 (10:18 +0200)]
alsactl: move alloca out of loop
Reserving new space from the stack in every loop iteration is not
necessary, so move the call to snd_ctl_elem_id_alloca outside where it
is executed only once.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Clemens Ladisch [Wed, 26 May 2010 08:07:47 +0000 (10:07 +0200)]
alsactl: use snd_config_imake* functions
To save a call to snd_config_set_xxx, replace the calls to
snd_config_make_xxx with snd_config_imake_xxx.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Fri, 16 Apr 2010 11:11:06 +0000 (13:11 +0200)]
Release v1.0.23
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
lieven moors [Mon, 15 Mar 2010 17:13:11 +0000 (18:13 +0100)]
aconnect -x: Do not update index after removal of connection.
Signed-off-by: lieven moors <lievenmoors@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Thu, 25 Feb 2010 15:45:13 +0000 (16:45 +0100)]
alsactl: update debug prints in state.c
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Thu, 25 Feb 2010 14:01:29 +0000 (15:01 +0100)]
alsactl: add more debug prints to state.c
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Thu, 25 Feb 2010 08:19:45 +0000 (09:19 +0100)]
alsactl: improve -d to get warnings and store exitcode to runstate file
Also, make the initialization & restore logic for one card similar to
multiple card initialization & restore.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Clemens Ladisch [Mon, 22 Feb 2010 08:42:03 +0000 (09:42 +0100)]
alsamixer: handle out-of-range volume values
Ensure that control volume values are in their allowed range; otherwise,
the displayed values could be outside the range 0..100 and mess up the
layout.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Clemens Ladisch [Fri, 19 Feb 2010 16:07:20 +0000 (17:07 +0100)]
alsamixer: fix division by zero
The attempt to divide by max-min fails if a control has only one valid
value. In this case, adjust the maximum so that the computation can
succeed; the control will look like 0%.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Sun, 14 Feb 2010 18:07:25 +0000 (19:07 +0100)]
alsactl: Fix return code
The main() should return positive error value.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Wed, 10 Feb 2010 10:52:53 +0000 (11:52 +0100)]
amixer: add support for TLV dB minmax types
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Clemens Ladisch [Mon, 1 Feb 2010 12:22:39 +0000 (13:22 +0100)]
amixer: fix display of unreadable control elements
When an element is marked as not readble, do not try to read it and then
complain about the error, but just ignore it.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Wed, 27 Jan 2010 09:26:52 +0000 (10:26 +0100)]
speaker-test: add fflush(stdout) to write_loop
Flush stdout for pipes. The monitor tool from hda-analyzer requires this.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Clemens Ladisch [Mon, 25 Jan 2010 13:11:37 +0000 (14:11 +0100)]
amidi: fix port listing
Rewrite the port listing code because it was too complex and had some
bugs when handling write-only or read-only ports.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
John Sauter [Fri, 8 Jan 2010 21:28:57 +0000 (16:28 -0500)]
aplay -- update the man file
Bring the man file up to date, documenting the signals and all the
options, including those added for audio surveilance.
Signed-off-by: John Sauter <John_Sauter@systemeyescomputerstore.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
John Sauter [Fri, 8 Jan 2010 21:24:33 +0000 (16:24 -0500)]
aplay -- add features for audio surveilance
Add signal SIGUSR1 to turn over the output file,
--max-file-time to cause the output file to turn over automatically,
and --use-strftime to create output files based on the current time.
Signed-off-by: John Sauter <John_Sauter@systemeyescomputerstore.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
John Sauter [Fri, 8 Jan 2010 21:21:07 +0000 (16:21 -0500)]
aplay - add option --process-id-file
Write the process ID to a file so other programs can
signal aplay. When aplay exits, delete the file.
Signed-off-by: John Sauter <John_Sauter@systemeyescomputerstore.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Fri, 8 Jan 2010 14:58:47 +0000 (15:58 +0100)]
aplay: Dump PCM state on xrun when verbose mode is active
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Wed, 16 Dec 2009 15:18:52 +0000 (16:18 +0100)]
Release v1.0.22
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Tue, 15 Dec 2009 14:34:46 +0000 (15:34 +0100)]
speaker-test: not all sample formats are supported - show only supported ones
Also, check if given format is supported.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Tue, 15 Dec 2009 14:27:05 +0000 (15:27 +0100)]
speaker-test: add -d (--debug) option to show PCM parameters
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Mon, 14 Dec 2009 16:26:57 +0000 (17:26 +0100)]
alsactl: fix error path code in init_parse.c
If initialization file (-i option) does not exists, the free_space()
function was called with NULL pointer.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Thu, 12 Nov 2009 07:54:25 +0000 (08:54 +0100)]
alsactl: init - default - initialize also "Digital Input Source"
Set "Digital Input Source" to "Digital Mic 1" or "Mic" (fallback).
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Mon, 9 Nov 2009 10:48:23 +0000 (11:48 +0100)]
arecord: fix wrong chunk_size initialization when verbose and mmap flags are set
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Arnout Engelen [Sun, 18 Oct 2009 19:34:30 +0000 (21:34 +0200)]
aplay - Show available formats
Report available sample formats in aplay/arecord when currently selected
one doesn't work.
Signed-off-by: Arnout Engelen <alsa2@bzzt.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Thu, 8 Oct 2009 11:47:27 +0000 (13:47 +0200)]
alsactl init: Add CTL{do_search} and CTL{do_count} parsers
To increase configuration readability, add CTL{do_search} and CTL{do_count}
actions. The old PROGRAM=="__ctl_search" notion is also allowed.
Add CTL{write} to XML documentation.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Clemens Ladisch [Mon, 25 May 2009 08:31:06 +0000 (10:31 +0200)]
add German translations
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Jaroslav Kysela [Tue, 28 Apr 2009 09:19:48 +0000 (11:19 +0200)]
alsactl: init rules - fix HDA Conexact codec PCM initialization
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Takashi Iwai [Wed, 26 Nov 2008 13:32:46 +0000 (14:32 +0100)]
Merge branch 'master' of git@git.alsa-project.org:alsa-utils
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>
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>