luz paz
0fe68adecc
Fix misc. typos
Found via `codespell -q 3 -L capela,nd,numer,parm`
3 years ago
luz.paz
a93b210134
FIx doxygen and user facing and non-facing typos
Found via `codespell -q 3`
5 years ago
Thomas Brand
888759347d
Test: exclude tests using deprecated functions for now.
5 years ago
Thomas Brand
54e03c12af
add another testcase for client name
5 years ago
Thomas Brand
9753f71069
NO-OP whitespace / indentation
5 years ago
Thomas Brand
1050436b33
Use memset to fill buffer. Add test marker.
Notes:
The name length test still fails.
jack_client_open() will only allow 63 printable chars (unlike expected 64 == JACK_CLIENT_NAME_SIZE).
This difference isn't explained by the terminating NULL character. jack_client_name_size() takes care of that (returns JACK_CLIENT_NAME_SIZE + 1).
char arrays are initialized like arr[JACK_CLIENT_NAME_SIZE + 1] in many files und truncated like arr[JACK_CLIENT_NAME_SIZE].
Probable reason for 63: ':' is part of the client name and implicitely added later.
Name used by caller does not include ':' thus jack_client_open() will allow only JACK_CLIENT_NAME_SIZE - 1 printable chars.
This line in common/JackConstants.h gives a hint that ':' might be counted in for JACK_CLIENT_NAME_SIZE
#define REAL_JACK_PORT_NAME_SIZE JACK_CLIENT_NAME_SIZE + JACK_PORT_NAME_SIZE // full name like "client_name:short_port_name"
Currently many char arguments are described like
@param client_name of at most jack_client_name_size() characters
This can be confusing in two ways:
-jack_client_name_size() does include the NULL so it's one less 'payload' character
-if the returned size is used exactly as described for function jack_client_name_size() including NULL,
it won't work with jack_client_open() or jack_port_register() etc. because of another reduction (eventually for the ":").
!! This needs to be verified and documentation needs to be reviewed. !!
5 years ago
Thomas Brand
667e06890e
Fix off-by-one NULL termination in array
Note: the client name length test still fails, this is a different issue.
5 years ago
Karl Linden
f5f22c6bef
Revert "Fix unused{,-but-set}-variable compiler warnings."
This reverts commit dde9f29a8e
.
The commit introduced the following compiler error:
[100/255] Compiling posix/JackNetUnixSocket.cpp
../posix/JackNetUnixSocket.cpp: In member function 'int Jack::JackNetUnixSocket::NewSocket()':
../posix/JackNetUnixSocket.cpp:126:32: error: 'tos' was not declared in this scope
socklen_t len = sizeof(tos);
6 years ago
Karl Linden
dde9f29a8e
Fix unused{,-but-set}-variable compiler warnings.
7 years ago
Adrian Knoth
6ccfdc1058
Mass-fix spelling errors
Flagged by the Debian QA tool.
Mostly automatic search-n-replace of the mistakes flagged.
6 years ago
Kjetil Matheussen
f7bccdca65
Tests: Fix compilation with gcc7
7 years ago
falkTX
05216197b4
Make JackPortRenameCallback return void, to match JACK1 API
JACK2 added this function first, but the int return has been always wrong.
When JACK1 added JackPortRenameCallback it used the proper return.
Now that JACK1 supports port renames, devs will start to use it.
(previously it didn't work properly because of the missing jack_client_t* arg)
Some code might be broken because of this, but it's a very simple change,
and existing code would have been broken when changing JACK1 to JACK2.
Finally, JACK2 code never uses the int return value of this callback.
So there's no real reason to NOT change this.
9 years ago
Stephane Letz
76491d3bc5
Add more tests for client registration code in test.cpp.
11 years ago
Stephane Letz
bebd4d3d69
Make API test more robust.
11 years ago
Stephane Letz
e4730c6c97
Fix some incoherency with strings.
11 years ago
Stephane Letz
4ab01b7c94
Correct jack_test for jack_port_name_size.
11 years ago
Stephane Letz
07223bc460
Add tests to check jack_client_name_size and jack_port_name_size API.
11 years ago
Stephane Letz
6483c0d5eb
New jack_get_cycle_times() implementation from Fons Adriennsen.
12 years ago
Stephane Letz
94cb2ee9a1
Compiles again on Windows.
12 years ago
Stephane Letz
4a289f48d9
Correct JackMessageBuffer::SetInitCallback.
12 years ago
Stephane Letz
4f0474f334
Correct debug targets on Windows, use jack_free in test.cpp.
12 years ago
sletz
9f4df15abb
Factorize code the server/client request.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4684 0c269be4-1314-0410-8aa9-9f06e86f4224
12 years ago
sletz
85df85f520
Fix for compilation on Solaris.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4670 0c269be4-1314-0410-8aa9-9f06e86f4224
12 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
13 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
13 years ago
sletz
f942ca2284
Correct linking issues.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4288 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
Stephane Letz
9ce3e4fc52
Correct test.cpp.
13 years ago
sletz
4828d0c835
rebase from trunk 4041:4083
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@4084 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
d4e51743a0
Compiles again on Windows.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4067 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
7a2863cf55
rebase from trunk 4004:4041
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@4042 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
ecb4471edb
Add tests to validate intclient.h API.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4006 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
ec2e42c933
rebase from trunk 3899:3916
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@3917 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
f692790318
Correct jack_test.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3909 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
5f68a6557a
rebase from trunk 3813:3899
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@3900 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
c48af77405
Correct rename callback in tests.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3851 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
Stéphane LETZ
5cebf485b0
Still call callback in register/unregister if client is active, add test code.
15 years ago
sletz
f1631119f2
Fix port_rename callback : now both old name and new name are given as parameters.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3835 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
sletz
6b765f0168
rebase from trunk 3684:3813
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@3814 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
sletz
0bf1580f03
Correct JackInfoShutdownCallback prototype, two new JackClientProcessFailure and JackClientZombie JackStatus code.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3732 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
sletz
224c41eb59
rebase from trunk 3638:3684
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@3685 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
sletz
ae57b1d033
CoreAudio backend now issue a JackInfoShutdownCallback when an unrecoverable error is detected (sampling rate change, stream configuration change…)
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3654 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
sletz
416928c200
rebase from trunk 3455:3482
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@3483 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
sletz
3c19d53f14
Compiles on Windows again.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3465 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
sletz
8273564a04
Cleanup, renaming.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3119 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
92fec92426
Correct comment.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2878 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
a50961906f
Add a fNetworkSync state in JackTransportEngine used in network.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2797 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
9484fcc308
Compiles on Windows again
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2458 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
a9b3549b4f
Correct compilation warnings
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2431 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
e4b2d61ab9
Cleanup
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2102 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
6ce2922aff
Add test for jack_cycle_wait, jack_cycle_wait and jack_set_process_callback API.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1970 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago