Commit graph

894 commits

Author SHA1 Message Date
Takashi Iwai
4cb74aed89 Remove sleep_min from aplay
The sleep_min is the obsolete feature now.  Remove it from aplay.
2008-01-08 18:38:32 +01:00
Clemens Ladisch
fb1c2d53a1 alsamixer: add 8-channel support
Add support for playback volume controls with 8 channels.
This allows controlling the side channels on 7.1 devices.
2008-01-07 12:28:43 +01:00
Takashi Iwai
b0828653c9 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>
2007-12-17 11:49:00 +01:00
Takashi Iwai
beecc1419e 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).
2007-12-14 15:29:51 +01:00
Takashi Iwai
8d7759aa32 alsactl - Fix wrong restore
Fix a bug in alsactl that restores wrong values for elements with
multiple channels (counts).
2007-11-30 17:20:39 +01:00
Clemens Ladisch
0629a38f6c iecset: fix card index check
Allow card indices up to 31.
2007-11-30 08:14:04 +01: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
Takashi Iwai
6f05fd4db2 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...
2007-11-12 17:24:27 +01:00
Takashi Iwai
1e6f486623 speaker-test - Put errors to stderr
Error messages should be shown in stderr.
2007-11-05 12:44:13 +01:00
Takashi Iwai
9dd3e2801c 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.
2007-11-05 12:40:35 +01:00
Takashi Iwai
14f7981d59 Add missing inclusion of assert.h 2007-10-25 15:39:19 +02:00
Takashi Iwai
c88c15a478 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).
2007-10-24 13:53:14 +02:00
Takashi Iwai
030686a847 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.
2007-10-24 13:08:28 +02:00
Jaroslav Kysela
c6eb66fdae Added tag v1.0.15 for changeset 3b8e4ee4363e 2007-10-15 10:36:47 +02:00
Jaroslav Kysela
2781f2c9d1 release 1.0.15
Patch-level: Merged
2007-10-15 10:36:47 +02: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
Clemens Ladisch
32c0c7bc5a arecordmidi: mention SMF type in man page
Document the SMF type (0 or 1) that will be generated by arecordmidi.
2007-09-17 09:44:29 +02:00
Jaroslav Kysela
30d3ace1a6 Added tag v1.0.15rc1 for changeset cd39f6c9aa57 2007-08-30 10:23:35 +02:00
Jaroslav Kysela
975abeea47 release 1.0.15rc1
Patch-level: Merged
2007-08-30 10:23:34 +02:00
Takashi Iwai
cbb2d555df 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.
2007-08-29 14:49:55 +02:00
Takashi Iwai
f13bea104b alsactl - Remove debug print
Remove an old debug print that simply annoys.
2007-08-15 15:38:01 +02:00
Takashi Iwai
7992d3aca0 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’
2007-08-07 15:36:41 +02:00
Takashi Iwai
4b16370c01 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.
2007-07-31 17:29:45 +02:00
Takashi Iwai
fea8dbf020 Ignore errors with -s option
Ignore non-fatal errors when stdin is parsed with -s option.
2007-07-24 15:19:34 +02:00
Takashi Iwai
483d8d65d9 aplay - Fix VU meter
Fix spaces displayed in VU meter to match with the actual max lengh (51).
2007-07-12 17:02:18 +02:00
Takashi Iwai
2fba9cd65e 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.
2007-07-12 15:22:06 +02:00
Takashi Iwai
ea04f2c888 aplay - Fix possible endless loop with SIGBART
The signal handler may cause endless loop with SIGABRT.
2007-07-12 15:20:52 +02:00
Jaroslav Kysela
8d0fb15b2b amixer/alsamixer - updated go scripts for debugging 2007-07-11 10:12:24 +02:00
Takashi Iwai
50d240e688 amixer - Fix selection of enum items
The item names with channel specifier cannot be chosen correctly
via amixer sset.  For example, 'Front Mic' is handled as 'Mic' since
the channel specificier 'Front' is omitted.

The idea of channel specifier is basically non-sense for enum items,
and this also makes the code very messy.

The patch fixes the behavior of enum items and gives the code clean-up
for sset command.
2007-07-09 16:37:35 +02:00
Takashi Iwai
c7d2be17d7 Remove unneeded -lasound
-lasound is unnecessary in aplay/Makefile.am.
2007-06-04 15:15:39 +02:00
Takashi Iwai
1a388d149f Add missing library dependency
speaker-test requires math library.
2007-06-04 15:14:47 +02:00
Jaroslav Kysela
8a3947e167 Added tag v1.0.14 for changeset 0c395cb93191 2007-05-31 08:55:27 +02:00
Jaroslav Kysela
46e9015d88 release 1.0.14
Patch-level: Merged
2007-05-31 08:55:26 +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
f5d76dde4e alsactl - More explicit open error message (#2)
same as last patch, this time for the store command

Tomas Pospisek <tpo2@sourcepole.ch>
2007-05-23 12:04:49 +02:00
Takashi Iwai
035cbc3f9b alsactl - More explicit open error message
Include more explicit error message when open config file in write
mode (this is for the "names" command)

From: Tomas Pospisek <tpo2@sourcepole.ch>
2007-05-23 12:03:29 +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
Takashi Iwai
e3ccd2031b alsactl - Error message when failing to open the config file
Tells the user that it was not able to open the config file with the
precise error message.

From: Tomas Pospisek <tpo2@sourcepole.ch>
2007-05-23 11:58:27 +02:00
Takashi Iwai
53eb911fb7 alsamixer - Fix duplicated appearance in All view mode
Fixed the duplicated appearances of common volumes / switches
in ALL view mode.
2007-05-18 16:58:02 +02:00
Jaroslav Kysela
d971197c33 Added tag v1.0.14rc4 for changeset dee0ae0aef39 2007-05-02 08:45:47 +02:00
Jaroslav Kysela
f50d0b5897 release 1.0.14rc4
Patch-level: Merged
2007-05-02 08:45:47 +02:00
Clemens Ladisch
2d470cf9c1 amidi: open devices non-blockingly
Open the RawMIDI devices in non-blocking mode so that we do not hang
while a device is busy.
2007-04-17 09:25:01 +02:00
Takashi Iwai
3f17db2ef5 amixer - show iec958 status bits in contents command
Show first 4 bytes of iec958 status bits for elements with
SND_CTL_ELEM_TYPE_IEC958 in contents command.
2007-04-05 17:23:42 +02:00
Jaroslav Kysela
bb3a24513f Added tag v1.0.14rc2 for changeset fe0e2571e09c 2007-01-15 14:47:35 +01:00
Jaroslav Kysela
0c84e7a9e0 release 1.0.14rc2
Patch-level: Merged
2007-01-15 14:47:34 +01:00
Takashi Iwai
83bf6c33ad Fix aconnect man page
Use local definitions of .EX/.EE or .DS/.DE to avoid low-level troff
requests in the page body.  There are plans to add these to groff man;
in the interim, this patch adds a compatible definition.

From: Eric S. Raymond <esr@thyrsus.com>
2007-01-08 11:46:12 +01:00
Jaroslav Kysela
7d87034cf2 Added tag v1.0.14rc1 for changeset 37fec0da2399c7134da1cb907a8ca8fca049e911 2006-12-07 15:04:32 +01:00
Jaroslav Kysela
329c9a2e7e release 1.0.14rc1
Patch-level: Merged
2006-12-07 15:04:31 +01:00
Clemens Ladisch
4de3d5a273 aplaymidi: handle big SysEx commands
Make sure that the sequencer output buffer is big enough to handle all
events that we send, and split large SysEx commands into one-second
chunks so that the sequencer kernel code can handle them.
2006-12-04 18:01:23 +01:00
Jaroslav Kysela
815fc4bea0 aplay: namehint fix - use filter before printing device name 2006-11-30 13:45:08 +01:00