Commit graph

817 commits

Author SHA1 Message Date
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
cb9cb72466 Show the mute dB state correctly
Show the mute dB state correctly as 'mute' in the status line.
2006-08-25 12:39:34 +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
Takashi Iwai
0413ca230f Restore user-defined TLV
Restore user-defined TLV (mainly for PCM softvol plugin).
TLV is stored in comment.tlv as a hex string.
2006-08-25 11:48:10 +02:00
Jaroslav Kysela
6f3280b3b1 Added tag v1.0.12 for changeset 362d0078aa00ef99b43b183fa1476ee6b13e070e 2006-08-22 14:40:48 +02:00
Jaroslav Kysela
24a7472b52 release 1.0.12
Patch-level: Merged
2006-08-22 14:40:47 +02:00
Jaroslav Kysela
147cb89ef6 Added tag v1.0.12rc2 for changeset 124e160dc248423e03f005affe943f3e78caa8d9 2006-08-04 14:28:17 +02:00
Jaroslav Kysela
4fa5e3b8e7 release 1.0.12rc2
Patch-level: Merged
2006-08-04 14:28:17 +02:00
Takashi Iwai
e45f2f4bf5 Don't call close() for the same fd twice in arecord
Since fmt_rec_table[].end() closes the file descriptor, we should
reset fd to -1 for avoiding closing the same fd once again.
2006-08-03 17:33:32 +02:00
Takashi Iwai
3de280c6f4 Use the right word in message of areacord
Use the word "stdin" instead of "stdout" when arecord is used.
2006-08-03 17:29:51 +02:00
Takashi Iwai
2759c90a67 Fix segfault in aplay when snd_pcm_name() == NULL
Fix segfault in aplay when snd_pcm_name() == NULL.
2006-08-03 17:27:35 +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
Clemens Ladisch
7bae1b0a5b amidi: fix --list-devices
Fix the formatting of devices with several unnamed subdevices,
and show input/outputness for these, too.
2006-06-27 08:19:15 +02:00
Takashi Iwai
6764ddbd53 amidi: Fix device list
From: Matthias Koenig <mk@phasorlab.de>

amidi does not show all devices with the --list-devices option.
It assumes that all output ports equals input ports and does not
show an input only port.
This patch extends the output of amidi -l by one column which shows
the input/output direction of each port.
E.g.

zebra:amidi # ./amidi -l
Dir Device    Name
IO  hw:1,0    MPU-401 MIDI 1-0
IO  hw:2,0,0  Keystation MIDI 1
IO  hw:3,0,0  Miditerminal 1
IO  hw:3,0,1  Miditerminal 2
IO  hw:3,0,2  Miditerminal 3
IO  hw:3,0,3  Miditerminal 4
I   hw:3,0,4  Miditerminal SMPTE
2006-06-23 14:53:38 +02:00
Jaroslav Kysela
8a852de04b Added tag v1.0.12rc1 for changeset 849c4951f99f14b8318025901bc76c23c73ce7b0 2006-06-21 15:50:44 +02:00
Jaroslav Kysela
ee6b105f4e release 1.0.12rc1
Patch-level: Merged
2006-06-21 15:50:44 +02:00
Takashi Iwai
ca5cc4b984 Fix misc bugs in arecord
- remove unused static declaration
- fix double close in signal handler
- fix NULL reference
- fix max file size to stdout with non-raw format
- code clean up
2006-05-18 12:33:35 +02:00
Takashi Iwai
56190f977b Fix endless loop of recording in arecord
Fix and clean up arecord (capture) code:
- fix the ending condition check
- fix invalid file close in raw mode
- clean up the code
2006-05-17 14:59:29 +02:00
Takashi Iwai
7af6e01ace Fix the default buffer size calculation in speaker-test
Fixed the default buffer size calculation in speaker-test.
The size should be aligned to nperiods.
2006-05-12 18:07:07 +02:00
Takashi Iwai
10e3f81ef7 Add hgcompile script and fix INSTALL document
Added hgcompile script (just a copy of cvscompile), and
fixed INSTALL document about HG.
2006-05-12 15:34:22 +02:00
Takashi Iwai
58bab1a4a7 Fix a compile warning in aplay.c
Fix a compile warning regarding the 2GB constant value.
2006-05-10 17:26:53 +02:00
Clemens Ladisch
3a7f46c00f aplaymidi: list only MIDI-capable ports
When listing ports with aplaymidi/arecordmidi, show only
ports that understand MIDI messages, i.e., that have the
SND_SEQ_PORT_TYPE_MIDI_GENERIC flag set.
2006-05-02 15:43:07 +02:00
Takashi Iwai
f92e100b56 Allow aplay/arecord to handle up to 2GB for WAV
Change the max_filesize value for WAV format to 2GB.
(It's still not 100% sure that WAV allows *exactly* 2GB, though.)
2006-04-26 16:14:51 +02:00
Takashi Iwai
9104d67f40 Fix arecord to quit properly at max file size
Fix arecord to quit properly at the max file size of the given format.
2006-04-26 16:11:57 +02:00
Jaroslav Kysela
6d031b7564 Added tag v1.0.11 for changeset 42059028317105d2db368e111cd3e797d1479648 2006-04-19 12:29:49 +02:00
Jaroslav Kysela
afecb426cd release 1.0.11
Patch-level: Merged
2006-04-19 12:29:49 +02:00
Takashi Iwai
a1b60b1335 Update ja.po file 2006-04-18 15:52:12 +02:00
Takashi Iwai
2516c6c43e Don't show invalid plug example in the error message of aplay
Don't show invalid examples of usage with plug prefix
in the error message of aplay/arecord.
2006-04-18 15:14:43 +02:00
Jaroslav Kysela
68f4d7736d Added tag v1.0.11rc5 for changeset 3978056e38c0fa4b2f81bb794252637411e74c98 2006-04-11 15:59:06 +02:00
Jaroslav Kysela
4fc26560d1 release 1.0.11rc5
Patch-level: Merged
2006-04-11 15:59:06 +02:00
Jaroslav Kysela
4aef946f78 Added tags since ALSA version 1.0.3 2006-04-10 14:53:20 +02:00
Takashi Iwai
6d1673526b Avoid unnecessary drain/restart in speaker-test
Avoid unnecessary drain/restart in speaker-test when the buffer
is enough small.
2006-04-06 19:19:07 +02:00
Takashi Iwai
47e7f18c77 Add .hgignore
Added the missing .hgignore.
2006-04-06 19:17:56 +02:00
Takashi Iwai
fa11ff7517 Add exec permission to cvscompile 2006-04-06 19:17:35 +02:00
Takashi Iwai
9b1a2566a1 Remove loops after errors
Don't retry after fatal errors.
2006-03-29 17:06:44 +00:00
Takashi Iwai
a948ec4204 Fix a typo in speaker-test help text
Fix a typo in speaker-test help text.  Updated ja.po, too.
2006-03-27 11:24:09 +00:00
Takashi Iwai
35544911e8 Fix missing commas
Fixed missing commas in array elements (ALSA bug#1938).
2006-03-24 16:36:31 +00:00
Takashi Iwai
925bf361fb Updated ja.po translations
Updated ja.po translations for changes of speaker-test.
2006-03-24 14:48:00 +00:00
Takashi Iwai
5e1a68b7b7 Improve buffer/period set up in speaker-test
Improve buffer/period set up in speaker-test.

- Don't ignore -b and -p options but use them if specified
- Clean up and improvement of messy buffer/period setup codes
- Add -P option for specifying number of periods explicitly
2006-03-24 14:46:52 +00:00
Jaroslav Kysela
400cc1b890 release 1.0.11rc4
Patch-level: Merged
2006-03-22 10:47:58 +00:00
Takashi Iwai
c7e2c700b9 Change autoconf requirement to 2.59
Change AC_PREREQ to 2.59.
2006-03-21 17:05:19 +00:00
Takashi Iwai
19609d86eb Fix PCI class and name extraction in alsaconf
- Allow all PCI class 04xx, not only 040x
- Fix the extraction of device name from lspci output

ALSA bug#1935
2006-03-21 16:52:15 +00:00
Takashi Iwai
8e821d4fee Add missing comma
Add a missing comma in the last fix...
2006-03-21 11:14:54 +00:00
Takashi Iwai
21d5bed81f Minor clean up of bashism
Minor clean up of bashism, replaced with normal test.
2006-03-13 19:40:25 +00: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
2304da6822 Fix a typo in manpage
Fix a typo in manpage of aplay.
2006-03-13 19:38:36 +00:00
Takashi Iwai
69c5beb106 Add --nloops option and fix manpage
- Added --nloops option to specify the number of loops
- Fixed man page of speaker-test
2006-03-06 19:42:23 +00:00
Takashi Iwai
8e6170206d Tentative fix for speaker-test WAV with 5 or more channels
Fix the WAV file name for center/lfe.  Use the existing
"Rear_Center.wav" for LFE as a workaround.
2006-03-02 11:41:58 +00:00