comparison audioio/AudioJACKTarget.cpp @ 67:34fef5e68a76 1.2-stable

* Static build fixes
author Chris Cannam
date Thu, 29 Nov 2007 12:02:09 +0000
parents eb596ef12041
children a8acc7841d70
comparison
equal deleted inserted replaced
66:eeb48693db96 67:34fef5e68a76
67 67
68 static jack_client_t *dynamic_jack_client_open(const char *client_name, 68 static jack_client_t *dynamic_jack_client_open(const char *client_name,
69 jack_options_t options, 69 jack_options_t options,
70 jack_status_t *status, ...) 70 jack_status_t *status, ...)
71 { 71 {
72 typedef jack_client_t (*func)(const char *client_name, 72 typedef jack_client_t *(*func)(const char *client_name,
73 jack_options_t options, 73 jack_options_t options,
74 jack_status_t *status, ...); 74 jack_status_t *status, ...);
75 void *s = symbol("jack_client_open"); 75 void *s = symbol("jack_client_open");
76 if (!s) return 0; 76 if (!s) return 0;
77 func f = (func)s; 77 func f = (func)s;
78 return f(client_name, options, status); // varargs not supported here 78 return f(client_name, options, status); // varargs not supported here
79 } 79 }