Commit 795874b7 authored by sletz's avatar sletz
Browse files

Fix JackEngine::ClientCloseAux

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1852 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 0fd46685
......@@ -85,12 +85,11 @@ process_audio (jack_nframes_t nframes, void *arg)
return 0;
}
void Jack_Port_Register(jack_port_id_t port, int mode, void *arg)
void jack_port_register_cb(jack_port_id_t port, int mode, void *arg)
{
printf("Jack_Port_Register port = %ld mode = %ld\n", port, mode);
printf("jack_port_register port = %ld mode = %ld\n", port, mode);
}
/*
int
process (jack_nframes_t nframes, void *arg)
......@@ -264,12 +263,10 @@ main (int argc, char *argv[])
for (i = tone_length; i < (int) wave_length; i++) {
wave[i] = 0;
}
if (jack_set_port_registration_callback(client, Jack_Port_Register, 0) != 0) {
if (jack_set_port_registration_callback(client, jack_port_register_cb, 0) != 0) {
printf("Error when calling jack_set_port_registration_callback() !\n");
}
if (jack_activate (client)) {
fprintf (stderr, "cannot activate client");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment