Florian Walpen
84a21a8cb9
Bad semaphore allocation in midi_latency_test.
The code did a pointer-sized heap allocation instead of the actual size
of a semaphore struct sem_t. This could result in heap memory corruption
when handling the semaphore.
Found by llvm scan-build.
3 years ago
KimJeongYeon
4a94e12986
jack2 supports android devices & rebase current changes to master
11 years ago
sletz
9c6afc5157
Compiles again on Windows.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4678 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
cf1cf045d9
Correct ressource leak in JackCoreMidiOutputPort.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4615 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
266cd2b366
Correct midi_latency_test.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4376 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
Devin Anderson
60b5a76310
Make 'jack_midi_latency_test' aware of port aliases as well as port names.
14 years ago
nedko
08876bd6eb
fix compile warnings
gcc (Gentoo 4.4.5 p1.2, pie-0.4.5) 4.4.5
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4363 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
Devin Anderson
dd588f3612
Teach midi_latency_test to wait for connections before executing the test.
14 years ago
sletz
ad34703368
rebase from trunk 4306:4323
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@4324 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
Devin Anderson
a90604f9a1
Cleanup comments in 'midi_latency_test.c'. Deactivate JACK client before outputting information created by JACK client thread.
14 years ago
Devin Anderson
7b7f9e869c
Cleanup MIDI latency test.
14 years ago
sletz
ecb84b5f9f
rebase from trunk 4238:4306
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@4307 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
06b95a18b9
Add jack_midi_latency_client in Windows projects.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4296 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
4334ccb0a9
Update Windows projects for 64/32 bits compilation.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4281 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
Devin Anderson
d1d25bea79
Fix latency plot error.
14 years ago
Devin Anderson
ccbf581d19
Optimize timing of 'alsarawmiidi' driver. Set parameters on 'rawmidi' ports. Minor fixes to 'jack_midi_latency_test'. Add latency plot to 'jack_midi_latency_test'.
14 years ago
sletz
d904746b42
Oops! Fix error messages on WIN32.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4269 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
44d46d34cd
Oops! Check proper error return code from 'wait_semaphore'.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4268 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
cf7c43c270
Free semaphore memory on Linux.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4267 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
169d3ef869
Attempt to port midi_latency_test.c to Windows. Can't test, as I don't have a Windows development environment.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4265 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
Devin Anderson
950945cd7d
Make midi_latency_test.c use an 'active sense' message instead of a 'midi clock' message when testing one byte messages. Some MIDI interfaces eat up sync messages. Of course, they could very well eat up 'active sense' messages too ...
14 years ago
Devin Anderson
dd4012c6ca
Minor cleanup for 'midi_latency_test.c'.
14 years ago
Stephane Letz
5360ec7522
Fix midi_latency_test.c for OSX.
14 years ago
Devin Anderson
625af9c677
Correct peak jitter measurement to be the difference between the highest latency and lowest latency events instead of the difference between the latency of the event with latency farthest from the average latency and the average latency itself. Actually use the xrun callback.
14 years ago
Devin Anderson
e2683cb024
Fix 'alsarawmidi' driver so that it actually works. Add functionality to 'midi_latency_test'. Fix bug in raw write queue implementation. Output error message when a source MIDI port isn't valid during mixdown. Output error messages for error conditions detected in buffer read and write queues.
14 years ago
Devin Anderson
6e92bd8020
Add 'alsarawmidi' driver, which is a slave MIDI driver that makes ALSA MIDI ports available to JACK. The driver uses the rawmidi devices, and uses the raw MIDI queues to optimize output.
14 years ago
Devin Anderson
61ae5bc2ad
Fix MIDI queue bugs. Make latency test output unexpected message count even if an error occurs.
14 years ago
Devin Anderson
4bd1bef24c
Added MIDI queues, FFADO objects, etc. - see ' http://trac.jackaudio.org/ticket/187 ' for more details
14 years ago