diff options
author | Nedko Arnaudov <nedko@arnaudov.name> | 2012-03-18 01:00:31 +0200 |
---|---|---|
committer | Nedko Arnaudov <nedko@arnaudov.name> | 2012-03-18 01:00:31 +0200 |
commit | cc271ca187fc54f3dd7e9dc7c29d4ab1963b2563 (patch) | |
tree | cf19fdbe174bec08d485d29b92647098c795d7f4 /tests | |
parent | 183c3faafd0d86473817de60de8598b8d9fc0c78 (diff) | |
parent | f44f80e6b1033f16afe6a669a65a6986ea546f7d (diff) | |
download | jack2-cc271ca187fc54f3dd7e9dc7c29d4ab1963b2563.tar.gz |
Merge branch 'master' into python3-waf-upgrade
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test.cpp | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/tests/test.cpp b/tests/test.cpp index 0a4fd226..60ca7b08 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -553,6 +553,8 @@ int main (int argc, char *argv[]) client_name1 = "jack_test"; time_to_run = 1; + //verbose_mode = 1; + //RT = 1; while ((opt = getopt_long (argc, argv, options, long_options, &option_index)) != EOF) { switch (opt) { case 'k': @@ -1201,8 +1203,8 @@ int main (int argc, char *argv[]) * (as mentionned in the doc of jack_get_ports) * */ - free(inports); - free(outports); + jack_free(inports); + jack_free(outports); /** * Try to "reactivate" the client whereas it's already activated... @@ -1241,7 +1243,7 @@ int main (int argc, char *argv[]) printf("!!! ERROR !!! %i ports have been created, and %i callback reg ports have been received !\n", j, port_callback_reg); } - free(inports); // free array of ports (as mentionned in the doc of jack_get_ports) + jack_free(inports); // free array of ports (as mentionned in the doc of jack_get_ports) /** *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* @@ -1405,7 +1407,7 @@ int main (int argc, char *argv[]) connexions2 = jack_port_get_all_connections(client1, jack_port_by_name(client1, inports[0])); } - free (inports); + jack_free (inports); if (connexions1 == NULL) { Log("checking jack_port_get_connections() for external client... ok\n"); } else { @@ -1648,7 +1650,7 @@ int main (int argc, char *argv[]) } else { Log("Checking renaming of an unregistered port... ok\n"); } - free (inports); + jack_free (inports); /** @@ -1664,6 +1666,7 @@ int main (int argc, char *argv[]) Log("Checking about latency functions...\n"); t_error = 0; jack_recompute_total_latencies(client1); + Log("jack_recompute_total_latencies...\n"); if ((jack_port_get_latency (output_port1) != 0) || (jack_port_get_total_latency(client1, output_port1) != 0) ) { t_error = 1; @@ -1753,8 +1756,8 @@ int main (int argc, char *argv[]) jack_sleep(1000); - free(inports); - free(outports); + jack_free(inports); + jack_free(outports); /** * Checking transport API. |