Commit Graph

44 Commits

Author SHA1 Message Date
jmcneill
26719ba336 - accept "midi0" as an alias for "0" to the -d flag
- verify that the requested unit exists before playing
- if the verbose flag is set, print the selected device name and unit #
2011-11-25 01:39:47 +00:00
joerg
0a09baa75f Fix disable stricter format string messages with clang again. 2011-08-17 22:16:42 +00:00
christos
d0e87f5f87 - add a SYSEX0 macro that does not override the initializers and use it
- fix whitespace
- make things static and eliminate unused functions
2011-08-14 13:26:23 +00:00
mrg
c111245a78 apply some -Wno-error and/or -fno-strict-aliasing.
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
joerg
9411f274f4 Use CWARNFLAGS.clang and not CWARNFLAGS here 2011-05-26 14:20:22 +00:00
joerg
a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
mbalmer
8f42635938 fix wording:
instead of the a file -> instead of a file
2010-01-16 08:50:29 +00:00
lukem
9e3117efe1 fix sign-compare and cast-qual issues 2009-04-12 14:15:08 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
wiz
1f88ff447a Bump date for previous. New sentence, new line. 2006-07-02 01:48:51 +00:00
he
cb27e76665 Um, pointer differences are ptrdiff_t, and there's already a
printf specifier for it (t), so use it instead.
2006-07-01 11:05:42 +00:00
he
1209c64644 The type for pointer difference varies between ports, on some it's
"long int" and on others "int", so cast via long and use %ld for printing.
2006-07-01 10:58:29 +00:00
chap
80f0cf5785 The rest of merge from chap-midi branch. Version of midiplay that uses the
sequencer API definitions in sys/midiio.h (so there is a use example).
These produce the same (ABI) sequencer events as the OSS macros, but in
a more strongly-typed way; OSS API macros could be built on them and added
to the OSS compatibility header sys/soundcard.h but have not been, yet.
2006-06-30 22:19:32 +00:00
reed
d35727353d Fix mispelling. 2006-06-17 02:18:48 +00:00
jmmv
b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
itojun
50847da5c5 safer use of realloc 2003-10-16 06:56:17 +00:00
salo
0f5a0c156d netbsd.org->NetBSD.org 2003-07-26 20:34:11 +00:00
agc
a8d6388e6f Add NetBSD RCS Ids. 2003-06-23 13:05:47 +00:00
wiz
b96edb2bae Bump date for RMID support. New sentence, new line. 2003-03-03 07:22:58 +00:00
augustss
34592076d4 Make it play RMID files as well. From bin/20388, Quentin Garnier. 2003-02-17 18:00:27 +00:00
grant
be8ae688ae New sentence, new line. 2002-09-30 11:08:56 +00:00
itojun
f51456c273 err/errx/warn/warnx do not need \n at the end 2002-06-11 06:06:18 +00:00
wiz
af38ac374d Sort sections. Use .Ev for environment variables. 2002-01-05 20:55:16 +00:00
augustss
70567d1c07 Take the default output unit from env MIDIUNIT. 2002-01-05 00:04:27 +00:00
wiz
aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
augustss
4385e5bfc5 Don't open sequencer device if we're not going to play. 2001-11-25 12:29:52 +00:00
augustss
a903cfcf86 Make -p select the right program. Fixes PR 14402, from itohy@netbsd.org. 2001-10-30 17:10:50 +00:00
tshiozak
a2942d2644 fix a simple, but important bug for system exclusive messages.
(forgot to increase a pointer, if the message has over 6 bytes length.)
2001-04-07 21:03:41 +00:00
cgd
a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
augustss
da048cb7d7 Cosmetic changes. 2000-08-12 22:24:51 +00:00
augustss
6751cbc746 Add a -p flag to set the MIDI program. From lindroos@nls.fi. 2000-02-18 23:03:05 +00:00
augustss
551f9b0d0c Fix timer reset bug when playing multiple songs. 1999-10-11 12:52:10 +00:00
soren
60b747deab Typo. 1999-09-30 13:47:57 +00:00
kleink
03126e1c99 Use full month names with .Dd, as per mdoc.samples(7). 1999-09-12 18:47:10 +00:00
erh
fa45851f9b Add missing .El line. 1999-03-10 05:14:51 +00:00
augustss
9726cfd1fb Make the copyright header conform to the NetBSD template. 1998-11-25 22:17:06 +00:00
augustss
9fe2d0d409 Add f flag to getopt() argument. Fixes PR 6335.
From  Andreas Wrede <andreas@planix.com>
1998-10-20 20:22:09 +00:00
augustss
de37abf1ef Handle SYSEX events. 1998-08-13 21:01:53 +00:00
augustss
15bc968ee1 Improve man page. 1998-08-13 18:26:36 +00:00
augustss
c0c080ef14 Handle MIDI files with running status correctly. 1998-08-13 17:20:07 +00:00
augustss
f99fc37d0a Fix type that prevented program and controller changes. 1998-08-13 15:19:40 +00:00
augustss
c22b7aff18 Make user tempo setting more sane. 1998-08-12 21:49:38 +00:00
augustss
d6f31170a4 Add a very simple MIDI player. No features, no fluff. 1998-08-12 21:39:11 +00:00