jack1 codebase
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
812B

  1. #ifndef __jack_libjack_local_h__
  2. #define __jack_libjack_local_h__
  3. struct _jack_client {
  4. jack_control_t *engine;
  5. jack_client_control_t *control;
  6. struct pollfd *pollfd;
  7. int pollmax;
  8. int graph_next_fd;
  9. int request_fd;
  10. JSList *port_segments;
  11. JSList *ports;
  12. pthread_t thread;
  13. char fifo_prefix[PATH_MAX+1];
  14. void (*on_shutdown)(void *arg);
  15. void *on_shutdown_arg;
  16. char thread_ok : 1;
  17. char first_active : 1;
  18. float cpu_mhz;
  19. pthread_t thread_id;
  20. };
  21. extern int jack_client_deliver_request (const jack_client_t *client, jack_request_t *req);
  22. extern jack_port_t *jack_port_new (const jack_client_t *client, jack_port_id_t port_id, jack_control_t *control);
  23. extern void* jack_zero_filled_buffer;
  24. #endif /* __jack_libjack_local_h__ */