krasjet
62b07487dc
fix a deadlock issue in midi_dump
The main loop might be blocked by `data_ready` when JACK server dies
while the program is running.
To reproduce the problem:
1. Start JACK server
2. Run `jack_midi_dump`
3. Stop JACK server
4. Press Ctrl-C in `jack_midi_dump` to send SIGINT.
5. Observe that the program doesn't stop and stuck in the main loop.
This patch forces the `data_ready` to be signaled in the signal handler
to prevent indefinite waiting.
4 years ago
falkTX
b19c12ba56
Split example-clients and tools, as done for jack1
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
luz.paz
a93b210134
FIx doxygen and user facing and non-facing typos
Found via `codespell -q 3`
5 years ago
Thomas Brand
cf0892305d
Check early if jack_midi_event_get() was successful.
6 years ago
Thomas Brand
a4b588bde0
Ignore MIDI messages > MSG_BUFFER_SIZE
6 years ago
Thomas Brand
03e164cdbb
Increase buffer sizes in jack_midi_dump.
6 years ago
Martin Koegler
543686cb93
Fix example client for mingw build
11 years ago
Robin Gareus
f6c7cb139b
realtime-safe midi-dump (use ringbuffer)
Signed-off-by: Robin Gareus <robin@gareus.org>
11 years ago
Robin Gareus
ae6412a881
add usage() to jack_midi_dump
Signed-off-by: Robin Gareus <robin@gareus.org>
11 years ago
Robin Gareus
0e23c197bf
midi-dump: exit cleanly, add support for absolute+relative timestamps
Signed-off-by: Robin Gareus <robin@gareus.org>
11 years ago
sletz
a7e8377441
rebase from trunk 4083:4180
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@4181 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
e1d31d1fe7
Add jack_midi_dump client.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4170 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago