Commit graph

168 commits

Author SHA1 Message Date
Jaroslav Kysela
6d59cea271 amixer - remove beep on errors in arguments
See bug#1247
2006-10-04 10:21:29 +02:00
Jaroslav Kysela
a70208290b amixer: sset - check if command is valid
See bug#532
2006-10-04 09:47:41 +02:00
Takashi Iwai
b4897f7856 Add linear-volume handling in amixer
Added the handling of linear-volume in amixer TLV decoder.
2006-08-28 13:28:46 +02:00
Takashi Iwai
ae9ddeb634 Add handling of dB to amixer
Added the dB value handling to amixer sset command.
Also, simplify the parser code.

Updated man page for dB suffix and some examples.
2006-08-25 12:00:14 +02:00
Jaroslav Kysela
e45ba7e644 amixer - show dB values for simple mixer interface (which is default) 2006-07-27 11:02:00 +02:00
Takashi Iwai
dedc292efa Fix print_dB() with a minus value
Fix print_dB() with a minus dB value.
2006-07-06 19:26:31 +02:00
Jaroslav Kysela
33319eb4ed amixer - added basic TLV support (read only) for 'amixer controls' 2006-07-05 17:46:10 +02:00
Takashi Iwai
21b94bc276 amixer - Add -s option
- Add -s option to read from stdin the command sequentially.
- Suppress unneeded warnings in sset.
2005-12-01 11:32:28 +00:00
Jaroslav Kysela
414b308e8c Fix for more better error fault handling for sset toggle 2005-09-22 12:47:02 +00:00
Jaroslav Kysela
7876ddd70e Added more better error fault handling for sset toggle 2005-09-22 12:39:26 +00:00
Takashi Iwai
87ffccedfd Fix / clean up man pages
Fix / clean up man pages (bug#1386)
2005-09-02 17:36:40 +00:00
Takashi Iwai
210e946410 Add enum control support to sget/sset
Added the enum control support to amixer sget/sset.
2005-06-15 14:55:37 +00:00
Jaroslav Kysela
eb408a393d amixer - useful script for debugging 2005-06-07 11:41:48 +00:00
Jaroslav Kysela
734cb04e08 Set the device name for smixer_options 2005-06-06 14:02:10 +00:00
Takashi Iwai
259fb326fb Fix compile warnings
Fixed compile warnings with gcc4.
2005-05-13 17:30:00 +00:00
Jaroslav Kysela
a35432c43e Fixed basic astraction selection for simple mixer API 2005-03-29 14:06:29 +00:00
Jaroslav Kysela
1299087e6c Added -a,--abstract switch for upcoming abstract mixer API 2005-03-27 12:50:34 +00:00
Giuliano Pochini
943bf551e1 amixer no-range-checking option
This patch adds the --nocheck option that disables range checking. It helps
debugging drivers.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
2005-02-04 15:35:27 +00:00
Takashi Iwai
4cd2c00fb3 Fix exit status
Return the exit status 0 after -h option.
When invalid options are given, it should return exit code 1.
2005-01-31 13:52:09 +00:00
Takashi Iwai
b729f4fc30 exits with status 0 after -h option
amixer exits with status 0 after -h option (ALSA BTS #858).
2005-01-31 13:48:50 +00:00
Nicolas FRANCOIS
ca5f8cbcfe Fix hyphens in man pages
This patch converts hyphens to minus signs in the man pages (for options,
emails, or command line examples).

This patch also closes one font modifier in iecset.1.
(s/\fIfalse\fI,/\fIfalse\fP,/)

Signed-off-by: Nicolas FRANCOIS <nicolas.francois@centraliens.net>
2004-10-08 16:15:34 +00:00
Thomas Hood
3e6080525e fixes its use of formatting codes in amixer.1
Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
2004-09-24 09:49:57 +00:00
Jaroslav Kysela
095e74167c Fixed typo 2004-08-10 09:46:19 +00:00
Takashi Iwai
59bf7f2c34 Fixed the wrong integer suffix. 2004-08-04 15:21:12 +00:00
Clemens Ladisch
ce70bf037a manpages: remove bogus .ID macro, use .TP for examples 2004-07-09 07:09:28 +00:00
Jaroslav Kysela
7759ed8617 Clemens Ladisch <clemens@ladisch.de>
fix error messages for snd_mixer_load
2004-02-24 09:19:31 +00:00
Jaroslav Kysela
33b53d88fd Fixed wrong message (load error) 2004-02-21 18:44:18 +00:00
Jaroslav Kysela
3d3fbd78e8 Fixed possible buffer overrun 2003-10-17 07:34:19 +00:00
Jaroslav Kysela
c8965f5622 alsactl: indirect removal; amixer - fixed typos 2003-04-01 14:09:09 +00:00
Jaroslav Kysela
53fb81e39b Here's a new batch of Debian patches, all from David B. Harris.
- add a "Press Escape to quit" string to alsamixer's title, some uses
  couldn't figure out how to exit the program (Debian Bug#178393).
- hide the cursor, which was missplaced and wasn't goodlooking anyway
  (Debian Bug#81169).
- remove trailing spaces from amixer's output (Debian Bug#177518).
- don't ignore second -l/-L flags in aplay (Debian Bug#177521).
2003-02-24 13:51:15 +00:00
Takashi Iwai
dfe70d8fbb - fixed compile warnings on gcc3.3. 2003-02-04 16:03:36 +00:00
Takashi Iwai
bb2024f1dd fixed the capture arguments: capture -> cap, nocapture -> nocap. 2002-12-20 16:32:50 +00:00
Jaroslav Kysela
bd2c771ca9 Added INTEGER64 support by Paul Davis 2002-05-13 09:54:24 +00:00
Takashi Iwai
133c82b4d9 fixed typo: removed unnecessary arg. 2002-05-07 12:20:55 +00:00
Jaroslav Kysela
b028a84f36 Updated 2002-04-07 20:44:35 +00:00
Jaroslav Kysela
35d972e98d Added -D (--device option), changed semantics of -c option (same as alsamixer) 2002-04-07 20:42:20 +00:00
Jaroslav Kysela
158ceab298 Fixed OOPS 2002-02-17 17:50:02 +00:00
Jaroslav Kysela
10eb237435 Fixed parsing of boolean value for cset 2002-01-10 08:32:29 +00:00
Jaroslav Kysela
bc638e8edb Updated GNU GPL (address) 2001-12-30 09:32:53 +00:00
Jaroslav Kysela
ca506c695b Added man pages to EXTRA_DIST 2001-11-06 07:51:48 +00:00
Jaroslav Kysela
9528f8a6c0 Fixed compilation 2001-09-27 19:14:26 +00:00
Jaroslav Kysela
d205c38ea6 Added toggle for cset 2001-09-27 17:07:07 +00:00
Jaroslav Kysela
5210f48624 More examples, more updates (toggle) 2001-09-26 13:08:14 +00:00
Jaroslav Kysela
8c437b382c Added toggle for simple controls and fixed volume setup bug 2001-09-20 08:31:12 +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
Jaroslav Kysela
ca65b68980 Fixed inverted controls 2001-09-05 09:23:31 +00:00
Jaroslav Kysela
ea8fe975d9 Enhanced syntax for sset (channels, direction) 2001-08-27 09:15:44 +00:00
Jaroslav Kysela
867febada7 Another mono fix 2001-07-25 11:49:32 +00:00
Jaroslav Kysela
e97a0a1bdb Fixed 'get' output (common and mono parts).
Added filter for inactive controls.
Added -i/--inactive option to disable new filter.
2001-07-23 13:26:34 +00:00
Takashi Iwai
b2fca96965 Fixed compile; removed snd_enum_xxx macros. 2001-07-11 15:00:59 +00:00
Jaroslav Kysela
4fc8ecce68 mixerid & components change 2001-06-25 13:14:51 +00:00
Jaroslav Kysela
49829cb0fe Fixed simple ID parser (when index is ommited) 2001-06-25 09:16:27 +00:00
Abramo Bagnara
009a7fee0a Completed parametric configuration and begun to use it 2001-05-22 09:19:44 +00:00
Abramo Bagnara
abcd3a5fb4 More documentation. Tiny change for simple mixer element API (get_range) 2001-03-30 09:43:30 +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
b8e931be00 Documentation fixes from Pavel Roskin 2001-03-16 07:35:25 +00:00
Abramo Bagnara
59bbfe130f Fixed mute/unmute 2001-02-21 20:46:07 +00:00
Abramo Bagnara
1a2e4a6199 New simple mixer implementation 2001-02-15 23:05:42 +00:00
Jaroslav Kysela
20c7e5b667 Fixed cset 2001-02-15 09:14:28 +00:00
Abramo Bagnara
b62252dd77 Changed control to use events mask. Added subscribe ioctl 2001-02-13 21:29:38 +00:00
Abramo Bagnara
0b01722266 More generic support for poll descriptors 2001-02-12 23:51:53 +00:00
Jaroslav Kysela
abd8b9f9e8 Fixed typo & thinko 2001-02-12 13:33:25 +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
Jaroslav Kysela
7346943471 Changed according to new hctl API 2001-02-09 15:38:59 +00:00
Abramo Bagnara
012584247c Completed control and mixer API 2001-02-09 11:20:32 +00:00
Abramo Bagnara
7d75ba2c1b Better names for control API 2001-02-07 15:13:17 +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
cc398d1855 Fixed open default 2000-11-21 20:38:50 +00:00
Jaroslav Kysela
637b3f828c Merged pcmplug branch. 2000-09-24 09:57:50 +00:00
Jaroslav Kysela
b03e752d96 Corrections for 'char *card' 2000-09-18 09:47:01 +00:00
Jaroslav Kysela
4ce15b2f84 removed ansidecl.h 2000-09-11 16:12:14 +00:00
Abramo Bagnara
a6427e6044 Added abstraction layer to controls. Added client/server support to controls. Cleaned private_data use for PCMs. Cleaned aserver 2000-09-11 15:49:33 +00:00
Abramo Bagnara
76702105ec Fixed buffer overflow spotted by Henrik 2000-08-28 06:33:08 +00:00
Abramo Bagnara
44ee42e587 Better name for snd_card_get_index. Cleaned error messages 2000-08-25 14:36:58 +00:00
Jaroslav Kysela
a8cbebd368 Fixed heap overwriting problems... 2000-08-22 17:35:12 +00:00
Jaroslav Kysela
ccffbc6e76 A few fixes and added undocumented 'sevents' command 2000-08-16 13:36:24 +00:00
Jaroslav Kysela
fbb7b7c4e9 Added (undocumented) events command 2000-08-12 15:34:17 +00:00
Jaroslav Kysela
c569788bf2 First attempt to make this tool functional with latest 0.6.x mixer API. 2000-08-11 19:29:55 +00:00
Jaroslav Kysela
9d5b8f205d Changes reflecting the new control API and kernel mixer API removal. 2000-07-15 10:21:59 +00:00
Abramo Bagnara
749b454304 Better names for ALSA API. Added min_fragments, max_fragments. 2000-05-27 16:52:19 +00:00
Jaroslav Kysela
b77ca419f6 Merged pcm2 branch. 2000-05-08 18:54:14 +00:00
Jaroslav Kysela
228bf51025 MUX1 & MUX2 renaming... 2000-04-17 18:55:33 +00:00
Takashi Iwai
48823e9ea5 extension of amixer set command:
- add front, rear, center, woofer channel selection
- left and right volumes can be given separately
- volumes can be increased/decreased relatively with + or - suffix
2000-03-18 18:00:37 +00:00
Jaroslav Kysela
e23566ee0d Optimization issues.. Removed -lasound. 2000-02-04 10:09:38 +00:00
Jaroslav Kysela
366a0131b8 Compilation fix (removed snd_mixer_info_t->switches) 2000-01-08 21:56:36 +00:00
Jaroslav Kysela
679338b28d Small changes for group setup.. 1999-12-09 16:28:24 +00:00
Jaroslav Kysela
8bb1860bf2 Abramo Bagnara <abramo@alsa-project.org>
Tue, 07 Dec 1999 08:44:05 +0100
- pcm mixer elements splitted for subchannel handling
- small fix to pcm device element
1999-12-07 10:10:07 +00:00
Jaroslav Kysela
13963ab1e1 Rear depth changes.. 1999-08-10 08:39:26 +00:00
Jaroslav Kysela
095f7b89b3 Added woofer... 1999-08-03 15:45:47 +00:00
Jaroslav Kysela
0b9109d6e6 Small fixes... 1999-08-02 21:58:27 +00:00
Jaroslav Kysela
b4524d72c0 Fixed a small MUX1 bug.. 1999-07-31 17:24:59 +00:00
Jaroslav Kysela
ac7440d124 More fixes.. 1999-07-30 22:24:24 +00:00
Jaroslav Kysela
724603ae07 Fixes for the conversion routines - John Fulmer <jfulmer@appin.org> 1999-07-30 21:58:34 +00:00
Jaroslav Kysela
544af07f8f Added MUX2 element handling... 1999-07-29 14:54:11 +00:00
Jaroslav Kysela
5c97980416 help updates 1999-07-27 18:37:18 +00:00
Jaroslav Kysela
b73edfdddc Documentation updates and some help updates.. 1999-07-27 18:35:09 +00:00
Jaroslav Kysela
0b5692b38a More mixer updates (GUS), OSS API emulation.. 1999-07-22 22:23:42 +00:00
Jaroslav Kysela
746d21d6f7 More mixer updates (probably last asound.h changes for group enhancements)... 1999-07-22 18:10:19 +00:00
Jaroslav Kysela
124906b797 More mixer updates: GUS 1999-07-22 15:04:46 +00:00