History log of /netbsd/usr.bin/midiplay/midiplay.c (Results 1 – 25 of 34)
Revision Date Author Comments
# d51a8cc9 27-Nov-2021 rillig <rillig@NetBSD.org>

usr.bin: remove unnecessary CONSTCOND, lint no longer needs it

Since 2021-01-31, lint no longer requires a CONSTCOND comment in a
do-while-0 statement since this is a common code pattern, especially

usr.bin: remove unnecessary CONSTCOND, lint no longer needs it

Since 2021-01-31, lint no longer requires a CONSTCOND comment in a
do-while-0 statement since this is a common code pattern, especially in
statement-like macros.

show more ...


# ab1a8b0b 01-Feb-2019 mrg <mrg@NetBSD.org>

make a fallthru comment GCC7 compatible.


# 1174aa6d 03-May-2018 wiz <wiz@NetBSD.org>

Sync usage with manpage.


# faf5c1eb 03-May-2018 mrg <mrg@NetBSD.org>

if just parsing don't try to read the uninitialised device name,
or display the unit number.

add a "-s" option that sends an ALL_SOUNDS_OFF midi event. very
useful after an interrupted midiplay lea

if just parsing don't try to read the uninitialised device name,
or display the unit number.

add a "-s" option that sends an ALL_SOUNDS_OFF midi event. very
useful after an interrupted midiplay leaves notes on.

show more ...


# a2a787ce 22-Mar-2015 mrg <mrg@NetBSD.org>

if not playing (-q mode), don't call ioctl() or try to use the results.
now -q mode works.


# 77dcd6e2 25-Nov-2011 jmcneill <jmcneill@NetBSD.org>

- 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 #


# db4d2ff0 14-Aug-2011 christos <christos@NetBSD.org>

- add a SYSEX0 macro that does not override the initializers and use it
- fix whitespace
- make things static and eliminate unused functions


# 9e3117ef 12-Apr-2009 lukem <lukem@NetBSD.org>

fix sign-compare and cast-qual issues


# ce099b40 28-Apr-2008 martin <martin@NetBSD.org>

Remove clause 3 and 4 from TNF licenses


# cb27e766 01-Jul-2006 he <he@NetBSD.org>

Um, pointer differences are ptrdiff_t, and there's already a
printf specifier for it (t), so use it instead.


# 1209c646 01-Jul-2006 he <he@NetBSD.org>

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.


# 80f0cf57 30-Jun-2006 chap <chap@NetBSD.org>

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

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.

show more ...


# b635f565 05-Jan-2004 jmmv <jmmv@NetBSD.org>

Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.


# 50847da5 16-Oct-2003 itojun <itojun@NetBSD.org>

safer use of realloc


# 0f5a0c15 26-Jul-2003 salo <salo@NetBSD.org>

netbsd.org->NetBSD.org


# a8d6388e 23-Jun-2003 agc <agc@NetBSD.org>

Add NetBSD RCS Ids.


# 34592076 17-Feb-2003 augustss <augustss@NetBSD.org>

Make it play RMID files as well. From bin/20388, Quentin Garnier.


# f51456c2 11-Jun-2002 itojun <itojun@NetBSD.org>

err/errx/warn/warnx do not need \n at the end


# 70567d1c 05-Jan-2002 augustss <augustss@NetBSD.org>

Take the default output unit from env MIDIUNIT.


# 4385e5bf 25-Nov-2001 augustss <augustss@NetBSD.org>

Don't open sequencer device if we're not going to play.


# a903cfcf 30-Oct-2001 augustss <augustss@NetBSD.org>

Make -p select the right program. Fixes PR 14402, from itohy@netbsd.org.


# a2942d26 07-Apr-2001 tshiozak <tshiozak@NetBSD.org>

fix a simple, but important bug for system exclusive messages.
(forgot to increase a pointer, if the message has over 6 bytes length.)


# a8ec668d 19-Feb-2001 cgd <cgd@NetBSD.org>

convert to use getprogname()


# da048cb7 12-Aug-2000 augustss <augustss@NetBSD.org>

Cosmetic changes.


# 6751cbc7 18-Feb-2000 augustss <augustss@NetBSD.org>

Add a -p flag to set the MIDI program. From lindroos@nls.fi.


12