Jaroslav Kysela
cdf5a9b824
alsactl init - fix memory leaks (valgrind helped)
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-08-19 13:28:22 +02:00
Jaroslav Kysela
30744c02e7
alsactl: Allow card specification by device name (support for udev)
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-08-18 16:57:18 +02:00
Jaroslav Kysela
ef8bfcecda
alsactl - remove 'names' command, fix alsactl man page
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-08-18 16:47:33 +02:00
Jaroslav Kysela
b8560a6bbb
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>
2008-08-14 16:46:27 +02:00
Jaroslav Kysela
b402cf543a
Initial 'alsactl init' implementation
...
See 'man 7 alsactl_init' for more details.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-07-31 15:45:08 +02:00
Takashi Iwai
e5b2ab2a9f
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.
2007-11-14 11:54:38 +01:00
Jaroslav Kysela
48de580a7b
Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz
2007-10-15 10:25:17 +02:00
Takashi Iwai
6d32e055d7
alsactl - Display help for names command
...
shortly explain the "names" command in the help text
From: Tomas Pospisek <tpo2@sourcepole.ch>
2007-05-23 12:06:49 +02:00
Takashi Iwai
cdccd6585f
alsactl - adjust spaces in help texts
...
adds a space in the help text between "restore" and "<card>" and indents
the rest of the text accordingly to fit.
From: Tomas Pospisek <tpo2@sourcepole.ch>
2007-05-23 12:02:14 +02:00
Jaroslav Kysela
8fa7c15229
alsactl - return error state, fail when no configuration is found
...
See bug#843
2006-10-04 10:14:24 +02:00
Takashi Iwai
52aeaa557f
Remove obsolete power command from alsactl
...
Remove obsolete power command from alsactl.
2006-03-13 19:39:17 +00:00
Takashi Iwai
a9881f3f20
Fix --force option
...
Fixed the broken --force option.
2005-05-17 16:18:14 +00:00
Jaroslav Kysela
31efc323b1
split source per command and added command 'names'
...
- sources are splitted to separate files
- added initial code for 'names' command
2005-05-10 10:55:24 +00:00
Takashi Iwai
ffa1ca09fe
Fix exit code
...
Fixed the exit code for invalid options. Now returns 1.
2005-01-31 17:49:04 +00:00
Takashi Iwai
6781eaa78c
return error code on faillure
...
Patch by Thierry Vignaud <tvignaud@mandrakesoft.com>:
this enable callers to be aware of any faillure
2005-01-24 12:02:35 +00:00
Takashi Iwai
990153e3a4
Fix compilation
...
Fix compilation: the code was based on the developing version of alsa-lib...
2005-01-03 13:32:34 +00:00
Takashi Iwai
2b86b6fe4e
Support user-defined controls
...
Support store/restore of user-defined controls.
Also, the numid is no longer checked when -F option is given.
The element is determined only from the given name, iface, index, device and
subdevice.
2005-01-03 11:56:27 +00:00
Takashi Iwai
b24728b015
fixes by Clemens Ladisch <clemens@ladisch.de>:
...
- fixed the check of wrong variable.
- suppress the "no state is present..." message if the card has
no controls.
2003-06-20 18:13:28 +00:00
Takashi Iwai
43a2330ab0
- search cardX entry if no card is found and -F option is given (i.e.
...
force to read the old-style entry).
2003-06-20 18:09:49 +00:00
Jaroslav Kysela
5db7e98e6f
Removed info_is_first - commited by mistake
2003-04-01 15:51:16 +00:00
Jaroslav Kysela
c8965f5622
alsactl: indirect removal; amixer - fixed typos
2003-04-01 14:09:09 +00:00
Takashi Iwai
fa0f6109a7
fixed the command line options.
2003-01-07 13:44:08 +00:00
Jaroslav Kysela
674e3161e0
type cleanups
2002-12-04 14:41:32 +00:00
Jaroslav Kysela
69a903d676
Fixed warning
2002-09-19 10:26:22 +00:00
Takashi Iwai
28d0fdaa6a
added -F option to restore the matching control elements as much as
...
possible.
2002-09-06 15:21:01 +00:00
Takashi Iwai
83ea8891c4
fixed the error message
2002-08-06 07:46:19 +00:00
Jaroslav Kysela
bd2c771ca9
Added INTEGER64 support by Paul Davis
2002-05-13 09:54:24 +00:00
Jaroslav Kysela
bc638e8edb
Updated GNU GPL (address)
2001-12-30 09:32:53 +00:00
Jaroslav Kysela
fcd84b4de0
Updated to snd_config_get_id changes
2001-11-19 12:00:18 +00:00
Jaroslav Kysela
c72696ff39
Fixed thinkos (power on, power off)
2001-10-04 15:03:39 +00:00
Jaroslav Kysela
a23db635c9
Added power state control
2001-09-26 16:05:03 +00:00
Jaroslav Kysela
6bd266995e
Changed location of asoundlib.h from sys dir to alsa dir.
...
(it means that official location is '#include <alsa/asoundlib.h>')
2001-09-11 09:34:14 +00:00
Takashi Iwai
99137b4df7
More fix to compile - removed snd_enum_incr and snd_int_to_enum macros.
2001-07-11 15:43:01 +00:00
Takashi Iwai
b2fca96965
Fixed compile; removed snd_enum_xxx macros.
2001-07-11 15:00:59 +00:00
Abramo Bagnara
c9510a21da
Corrected message
2001-06-06 14:24:10 +00:00
Jaroslav Kysela
6f75a56d2c
asound.conf -> asound.state
2001-05-15 12:10:22 +00:00
Abramo Bagnara
98fceb5f56
More documentation. Added mode argument to i/o_stdio_open.
2001-03-29 09:10:47 +00:00
Abramo Bagnara
f8ab746deb
Added mode argument to open functions where it was missing. First part of CTL documentation
2001-03-26 12:45:50 +00:00
Abramo Bagnara
fdacf95e6c
Fixed unhexing thanks to Anders
2001-02-13 20:20:52 +00:00
Abramo Bagnara
9c7ba00630
Fixed typo
2001-02-13 18:36:36 +00:00
Abramo Bagnara
fbec0a5f8d
Completed mixer API. Improved iterators. Renamed control values struct. Rewritten simple elements implementation
2001-02-11 15:45:44 +00:00
Abramo Bagnara
012584247c
Completed control and mixer API
2001-02-09 11:20:32 +00:00
Abramo Bagnara
7b2cc96f18
Fixed sign
2001-02-07 17:09:00 +00:00
Abramo Bagnara
7d75ba2c1b
Better names for control API
2001-02-07 15:13:17 +00:00
Abramo Bagnara
4b6c8ce82e
Encapsulated conf API
2001-02-07 11:34:42 +00:00
Abramo Bagnara
0ef8943fb0
Control API encapsulation. Better names for kernel API. Simpler PCM hw_params API. Added missing const.
2001-02-06 23:48:29 +00:00
Abramo Bagnara
3df0171dc0
Encapsulated hwdep. Converted all enums to type safety
2001-02-05 15:44:45 +00:00
Abramo Bagnara
025a1c8d26
Added I/O classes
2001-01-17 11:00:34 +00:00
Jaroslav Kysela
66608d67ea
Added support for IEC958
2000-12-22 11:25:11 +00:00
Jaroslav Kysela
84f294a3b9
S/PDIF related changes..
2000-12-21 21:53:07 +00:00