Commit graph

49 commits

Author SHA1 Message Date
lieven moors
b5f5ebcbe6 aconnect -x: Do not update index after removal of connection.
Signed-off-by: lieven moors <lievenmoors@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2010-03-25 12:21:58 +01:00
Clemens Ladisch
d94ab95c0d aplaymidi: reduce bandwidth for big SysEx messages
When throttling the data rate for big SysEx messages, use the bandwidth
that devices use in practice instead of the theoretical maximum.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2009-08-17 12:29:11 +02:00
Takashi Iwai
2e3915d158 aseqnet - Add $(INTLLIBS) to Makefile.am
Add $(INTLLIBS) to LDADD for aseqnet to fix build errors on uclibc
(and possibly others).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-12-08 11:59:27 +01:00
Diego E. 'Flameeyes' Pettenò
6232f1c96c Make some static tables and strings constants.
By doing this we move them from the .data section to .rodata setion,
or from .data.rel to .data.rel.ro.

The .rodata section is mapped directly from the on-disk file, which is
always a save, while .data.rel.ro is mapped directly when using
prelink, which is a save in a lot of cases.

Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
2008-11-21 13:10:02 +01:00
Clemens Ladisch
8e2046bed5 aseqdump: flush output
Flush the output after all currently available events have been printed
to allow filtering interactive output through a pipe.
2008-02-21 09:12:53 +01:00
Clemens Ladisch
23f3e570cc fix poll timeout
Use an infinite poll timeout to prevent unnecessary wakeups.
2008-02-21 09:12:27 +01:00
Clemens Ladisch
8497258145 aseqdump: increase verbosity
Include the names of parameters when printing events instead of just
showing the raw values.
2008-02-21 09:11:58 +01:00
Takashi Iwai
14f7981d59 Add missing inclusion of assert.h 2007-10-25 15:39:19 +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
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
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
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
9fb30e388f Fix compile warnings
Fix trivial compile warnings.
2005-12-16 18:44:14 +00:00
Takashi Iwai
9dc666526f Disable NLS support when --disable-nls is passed
Disable NLS support when --disable-nls is passed (bug#1514).
2005-11-08 16:43:36 +00:00
Takashi Iwai
9d1ad2effd Fix compile with --disable-nls
Fix compile with --disable-nls.
2005-10-31 14:44:03 +00:00
Clemens Ladisch
e6cbac57f6 aseqdump - remove fishy comment
Remove the fishy comment because it isn't needed anymore after the tuna
has been accidentally removed.
2005-07-25 15:20:07 +00:00
Takashi Iwai
39ff48b437 Output help messages to stdout
Output help messages and lists to stdout instead of stderr.
2005-06-23 10:39:16 +00:00
Takashi Iwai
6343f35202 i18nize some programs
i18nize some programs with gettext.
2005-06-23 10:38:06 +00:00
Takashi Iwai
7b0c847f1a Fix typos in man pages
Fix typos in man pages (bug #1024)
2005-06-08 13:55:54 +00:00
Takashi Iwai
cae569e10e Remove unused variable
Removed unused variable.
2005-05-13 17:30:50 +00:00
Takashi Iwai
53adb97f2e Fix typo
Fixed a typo.
2005-03-30 16:11:11 +00:00
Clemens Ladisch
51b48adbaa move event dumping from arecordmidi to aseqdump
Remove the event dumping functionality from arecordmidi and
put it into the new aseqdump utility.
2005-02-21 08:30:12 +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
7de47ff37b Add a missing letter 'e'
Signed-off-by: Thomas Hood <jdthood@yahoo.co.uk>
2004-09-24 09:53:32 +00:00
Clemens Ladisch
58a11d86fd arecordmidi enhancements by Pedro Lopez-Cabanillas 2004-04-06 06:22:19 +00:00
Takashi Iwai
1ef970a295 fixed a typo. 2004-02-25 11:26:07 +00:00
Jaroslav Kysela
1ae3fa8532 Clemens Ladisch <clemens@ladisch.de>
add aplaymidi & arecordmidi utilities
2004-02-23 10:58:34 +00:00
Takashi Iwai
e52214d3e2 - removed obsolete group option.
- made error handling consistent.
2002-07-17 12:05:15 +00:00
Takashi Iwai
b61885f544 - fixes by Bernhard Kaindl.
- use the fixed event packet size to make it work regardless of
  pointer size.
  still there is endian-problem, though..
2002-03-22 12:02:30 +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
Takashi Iwai
ed07d2e32a Fixed thinkos. Now -x should work well. 2001-07-12 16:37:38 +00:00
Jaroslav Kysela
c7ed13b3ae Rewritten for the new sequencer API (with encapsulation). 2001-07-04 13:55:13 +00:00
Jaroslav Kysela
9f29bedbfd Cleanups and fixed arguments for *_open() - default. 2001-06-15 08:55:17 +00:00
Takashi Iwai
b18b0da438 fixed compile on some gcc version.. 2001-03-01 17:38:07 +00:00
Jaroslav Kysela
740881bdf5 Recoded to use poll rather than select and 2001-02-23 09:58:14 +00:00
Abramo Bagnara
33b8d4717e Fixed use of poll_descriptors 2001-02-22 10:29:39 +00:00
Abramo Bagnara
0b01722266 More generic support for poll descriptors 2001-02-12 23:51:53 +00:00
Jaroslav Kysela
6228fe8e07 Fixed removal of hidden connections 2000-12-01 11:49:54 +00:00
Jaroslav Kysela
69a69ade1f Added the error handler ignoring misleading warnings... 2000-11-25 16:38:04 +00:00
Jaroslav Kysela
25b7943321 Merged pcmfinal branch. 2000-11-20 20:11:13 +00:00
Abramo Bagnara
2ec99095fe Completed renaming drain->stop, flush->drain (PCM). Done renaming drain->drop, flush->drain (rawmidi and seq). Removed wrong module usage count inc/dec from mmap 2000-09-29 20:49:20 +00:00
Jaroslav Kysela
637b3f828c Merged pcmplug branch. 2000-09-24 09:57:50 +00:00
Takashi Iwai
e0847b4af8 Accept the client name as address argument of aconnect and aseqnet.
You may use aconnect like this:
	% aconnect External:0 Emu8000:1
2000-09-14 10:19:45 +00:00
Takashi Iwai
d594ba181c Fixed group and permission checks 2000-09-11 16:03:51 +00:00
Takashi Iwai
1e5289de13 Bug fixes and modifications for the recent change of sequencer API. 2000-09-01 16:25:10 +00:00
Takashi Iwai
c786b1b6d5 Add -x option for removing all exported connections 2000-08-31 11:20:34 +00:00
Jaroslav Kysela
e23566ee0d Optimization issues.. Removed -lasound. 2000-02-04 10:09:38 +00:00
Jaroslav Kysela
fa88a97078 Moved aconnect and aseqnet sequencer utilities into the alsa-utils package. 2000-01-04 12:39:00 +00:00