Commit graph

131 commits

Author SHA1 Message Date
Takashi Iwai
398713e136 James Courtier-Dutton <James@superbug.demon.co.uk>:
It causes alsamixer to display 2 different views of the mixer controls.
One view shows only the "Playback" controls, the other view shows only
the "Capture" controls, with a hidden mode (Press F1, then Enter) to
show the old method of all controls together.
2004-08-27 16:29:20 +00:00
Takashi Iwai
e4d3e84845 show single values for mono volumes. 2004-05-11 16:58:48 +00:00
Takashi Iwai
5eafc3ceda Alexander E. Patrakov:
With ncurses 5.4 or later, it is necessary to have the
correct LC_CTYPE setting before calling initscr(). Otherwise, the line
drawing characters and boxes are not visible on Linux console in UTF-8 mode,
and that makes alsamixer totally unusable on such terminal.
2004-02-16 16:44:06 +00:00
Takashi Iwai
d760ae6ee2 - fixed the color of subwindow title. 2004-02-04 19:23:44 +00:00
Takashi Iwai
6a915e89cd - show the version number of the package.
- use ACS_CKBOARD for the volume bars.
- fixed the path of /proc/asound/oss/devices.
- fixed the max length to display the item name.
2004-01-30 16:26:22 +00:00
Jaroslav Kysela
340b2ca3c9 Use float to avoid overflow 2003-08-11 09:42:16 +00:00
Takashi Iwai
4fdde2d0a6 show the mute status in the item line, too. 2003-07-22 16:38:25 +00:00
Jaroslav Kysela
ee36a832c1 Eliot Blennerhassett <bigblen@icqmail.com>: fixed negative ranges 2003-05-28 09:04:52 +00:00
Jaroslav Kysela
04020b86d1 Volume can be lower than zero, too 2003-05-28 07:25:26 +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
Jaroslav Kysela
a439342676 Added POLLNVAL test 2002-12-02 20:18:29 +00:00
Takashi Iwai
870f73612f added a note about ESC key. 2002-11-29 17:32:52 +00:00
Takashi Iwai
ea772415f0 - removed __FUNCTION__; this will lead to many warnings with the
recent gcc...
- disabled the ESC prefix, which never works properly.
2002-11-29 17:32:34 +00:00
Jaroslav Kysela
ed80be2bcf Added detection for POLLERR 2002-11-25 18:16:24 +00:00
Takashi Iwai
ec9ecfc6fa added the handling of enum controls, using the recent addition to
alsa-lib.

now alsamixer can control the enumerated items, such like ice1712's
routing table.

not implemented: enum items with more than two channels.
2002-09-09 14:27:18 +00:00
Takashi Iwai
eab1645366 fixed handling of mono capture-switch on a stereo volume. 2002-03-22 17:34:20 +00:00
Takashi Iwai
7836d64d4d fixed typo. 2002-03-12 13:05:20 +00:00
Takashi Iwai
23d9d20b9c fixed handling of capture switch / volume. 2002-03-12 12:30:49 +00:00
Takashi Iwai
d81f16b7fa fixed / improved handling of capture volumes and switches.
now capture volumes are displayed and controllable as independent
bars from playback volumes.
e.g. on emu10k1 you'll see both "AC97" and "AC97 Capture".

there is still a bug in handling of "Capture Volume" control.
2002-02-27 18:07:11 +00:00
Jaroslav Kysela
e0eb9cc2ff Fixed window resize signal handling and poll handling 2001-12-07 20:13:28 +00:00
Jaroslav Kysela
acf749d325 Fixed view position 2001-12-07 19:53:51 +00:00
Takashi Iwai
cc3f05a4f1 Fixed for the current behavior, options. 2001-11-12 15:59:53 +00:00
Jaroslav Kysela
ca506c695b Added man pages to EXTRA_DIST 2001-11-06 07:51:48 +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
29faa915db Removed unused stuff for poll 2001-09-03 12:16:38 +00:00
Jaroslav Kysela
2ecee3b257 Fixed event handling 2001-07-23 13:08:44 +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
Jaroslav Kysela
9f29bedbfd Cleanups and fixed arguments for *_open() - default. 2001-06-15 08:55:17 +00:00
Abramo Bagnara
009a7fee0a Completed parametric configuration and begun to use it 2001-05-22 09:19:44 +00:00
Jaroslav Kysela
3c7ef9765b Updated 2001-05-15 12:25:43 +00:00
Jaroslav Kysela
88272c9da3 Added -D option and improved -c option 2001-05-15 12:25:25 +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
Takashi Iwai
a2c30bf682 close the roof of cabriolet (mixer elements w/o mute). 2001-03-01 17:40:17 +00:00
Abramo Bagnara
4200ac00a4 Updated version number 2001-02-25 22:37:18 +00:00
Abramo Bagnara
b43cf63605 Exit if no elems are available 2001-02-20 08:51:57 +00:00
Abramo Bagnara
536e7b66a5 Changed descriptors_count 2001-02-18 18:32:31 +00:00
Abramo Bagnara
7687662381 Added range specification to simple mixer. Fixes to alsamixer. Added mixer support to alsa-oss 2001-02-18 17:56:38 +00:00
Abramo Bagnara
1a2e4a6199 New simple mixer implementation 2001-02-15 23:05:42 +00:00
Jaroslav Kysela
246c930afb elem_count -> get_count 2001-02-14 13:08:49 +00:00
Jaroslav Kysela
c4212d7496 Recoded alsamixer utility to use the latest alsa-lib's API. 2001-02-14 12:22:47 +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
3fadc219ee Temporary hack for compilation 2001-02-09 13:52:39 +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
Jaroslav Kysela
3180b94099 Updates for the latest API (the next device changes). 2000-11-30 19:25:50 +00:00
Abramo Bagnara
86b50130e9 Changed default ctl name to open 2000-11-21 17:15:06 +00:00
Jaroslav Kysela
637b3f828c Merged pcmplug branch. 2000-09-24 09:57:50 +00:00
Jaroslav Kysela
ff3ef012ec Added Item: line 2000-09-18 09:47:46 +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
44ee42e587 Better name for snd_card_get_index. Cleaned error messages 2000-08-25 14:36:58 +00:00
Jaroslav Kysela
eb4a1a6015 Removed debugging lines.. 2000-07-28 20:19:42 +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
f46d20e4b2 Added missing include 2000-07-03 07:44:08 +00:00
Takashi Iwai
3b5c5b2268 - fix alsamixer bug which causes SEGFAULT when volume bar is changed.
- fix aplay for reading WAVE file properly even on big-endian machine.
2000-05-16 10:46:11 +00:00
Jaroslav Kysela
b77ca419f6 Merged pcm2 branch. 2000-05-08 18:54:14 +00:00
Takashi Iwai
f7c4aad91f alsamixer supports rear, center and woofer speakers 2000-03-10 15:45:09 +00:00
Jaroslav Kysela
0092ec6c66 Fixed mono mute & capture... 2000-02-07 18:05:52 +00:00
Jaroslav Kysela
e23566ee0d Optimization issues.. Removed -lasound. 2000-02-04 10:09:38 +00:00
Abramo Bagnara
5f6d6e72d4 Added group and elements sorting 2000-01-18 08:45:43 +00:00
Jaroslav Kysela
9417948722 Fixes for the dynamic group update.
Fixed the mono group handling.
2000-01-04 12:20:49 +00:00
Jaroslav Kysela
277a86c3ad The alsamixer program is back for the mixer v2 API (group control).
This program has a lot of bugs:
  - dynamic updates handling
  - mono volume control handling
2000-01-03 22:40:51 +00:00
Jaroslav Kysela
7a41ac1568 Changed e-mail from <perex@jcu.cz> to <perex@suse.cz>.. 1999-05-11 22:18:49 +00:00
Jaroslav Kysela
2e02eadd72 Mixer v2.0 merged to the main CVS tree... 1999-05-02 16:21:40 +00:00
Jaroslav Kysela
4db1fd02ce Merged new-mixer branch... 1999-03-08 16:51:53 +00:00
Tim Janik
1bf9bb468b * Sun Feb 21 19:55:01 1999 Tim Janik <timj@gtk.org>
*
 *      * bumped version to 0.10.
 *
 *      * added scrollable text views.
 *      we now feature an F1 Help screen and an F2 /proc info screen.
 *      the help screen does still require lots of work though.
 *
 *      * keys are evaluated view specific now.
 *
 *      * we feature meta-keys now, e.g. M-Tab as back-tab.
 *
 *      * if we are already in channel view and the user still hits Return,
 *      we do a refresh nonetheless, since 'r'/'R' got removed as a redraw
 *      key (reserved for record volumes). 'l'/'L' is still preserved though,
 *      and actually needs to be to e.g. get around the xterm bold-artefacts.
 *
 *      * support terminals that can't write into lower right corner.
 *
 *      * undocumented '-s' option that will keep the screen to its
 *      minimum size, usefull for debugging only.
 *
1999-02-21 18:57:06 +00:00
Tim Janik
d47938eab3 * Sun Feb 21 02:23:52 1999 Tim Janik <timj@gtk.org>
*
 *      * don't abort if snd_mixer_* functions failed due to EINTR,
 *      we simply retry on the next cycle. hopefully asoundlib preserves
 *      errno states correctly (Jaroslav can you asure that?).
 *
 *      * feature WINCH correctly, so we make a complete relayout on
 *      screen resizes. don't abort on too-small screen sizes anymore,
 *      but simply beep.
 *
 *      * redid the layout algorithm to fix some bugs and to preserve
 *      space for a flag indication line. the channels are
 *      nicer spread horizontally now (i.e. we also pad on the left and
 *      right screen bounds now).
 *
 *      * various other minor fixes.
 *
 *      * indicate whether ExactMode is active or not.
 *
 *      * fixed coding style to follow the GNU coding conventions.
 *
 *      * reverted record volume changes since they broke ExactMode display.
 *
 *      * composed ChangeLog entries.
1999-02-21 04:41:27 +00:00
Jaroslav Kysela
88cdd83d0f Changes for record volume... 1999-02-15 15:42:34 +00:00
Chris Cannam
d9158162d0 Convert alsa-utils to use automake 1999-01-30 19:12:34 +00:00
Jaroslav Kysela
8773d373f0 Coding style... 1998-11-27 15:17:45 +00:00
Jaroslav Kysela
221a13fc32 Initial version... 1998-11-27 14:43:15 +00:00
Jaroslav Kysela
89cbc35ba4 Removed debugging message... 1998-11-09 14:06:10 +00:00
Jaroslav Kysela
18c2009b87 Stereo record source and route selection... 1998-11-04 19:43:45 +00:00
Jaroslav Kysela
171a891b43 Little cleanups in callbacks... 1998-10-29 22:50:10 +00:00
Jaroslav Kysela
3881bedb74 Initial file. 1998-10-02 08:42:30 +00:00
Jaroslav Kysela
5482bc327d Fixed -m option... 1998-09-20 08:05:24 +00:00
Jaroslav Kysela
efd0fa4035 Big renaming - from sound to asound... 1998-08-30 21:10:35 +00:00
Jaroslav Kysela
fbb20e85ec Initial revision 1998-08-13 15:43:39 +00:00