git-svn-id: svn+ssh://jackaudio.org/trunk/jack@383 0c269be4-1314-0410-8aa9-9f06e86f4224tags/0.109.0
| @@ -14,7 +14,7 @@ dnl changes are made | |||||
| dnl --- | dnl --- | ||||
| JACK_MAJOR_VERSION=0 | JACK_MAJOR_VERSION=0 | ||||
| JACK_MINOR_VERSION=70 | JACK_MINOR_VERSION=70 | ||||
| JACK_MICRO_VERSION=4 | |||||
| JACK_MICRO_VERSION=5 | |||||
| dnl --- | dnl --- | ||||
| dnl HOWTO: updating the jack protocal version | dnl HOWTO: updating the jack protocal version | ||||
| @@ -63,6 +63,15 @@ int jack_internal_client_new (const char *client_name, const char *so_name, cons | |||||
| */ | */ | ||||
| void jack_internal_client_close (const char *client_name); | void jack_internal_client_close (const char *client_name); | ||||
| /** | |||||
| * @param client The Jack client structure. | |||||
| * | |||||
| * Check if the JACK subsystem is running with -R (--realtime). | |||||
| * | |||||
| * @return 1 if JACK is running realtime, 0 otherwise | |||||
| */ | |||||
| int jack_is_realtime (jack_client_t *client); | |||||
| /** | /** | ||||
| * @param client The Jack client structure. | * @param client The Jack client structure. | ||||
| * @param function The jack_shutdown function pointer. | * @param function The jack_shutdown function pointer. | ||||
| @@ -1135,6 +1135,12 @@ jack_client_close (jack_client_t *client) | |||||
| return 0; | return 0; | ||||
| } | } | ||||
| int jack_is_realtime (jack_client_t *client) | |||||
| { | |||||
| return client->engine->real_time; | |||||
| } | |||||
| unsigned long jack_get_buffer_size (jack_client_t *client) | unsigned long jack_get_buffer_size (jack_client_t *client) | ||||
| { | { | ||||