21 #ifndef __jack_hardware_h__
22 #define __jack_hardware_h__
33 Cap_HardwareMonitoring = 0x1,
36 Cap_ClockMaster = 0x8,
37 Cap_ClockLockReporting = 0x10,
38 Cap_HardwareMetering = 0x20
43 typedef void (*JackHardwareReleaseFunction)(
struct _jack_hardware *);
44 typedef int (*JackHardwareSetInputMonitorMaskFunction)(
struct _jack_hardware *,
unsigned long);
45 typedef int (*JackHardwareChangeSampleClockFunction)(
struct _jack_hardware *, SampleClockMode);
46 typedef double (*JackHardwareGetHardwarePeak)(jack_port_t *port, jack_nframes_t frames);
47 typedef double (*JackHardwareGetHardwarePower)(jack_port_t *port, jack_nframes_t frames);
51 unsigned long capabilities;
52 unsigned long input_monitor_mask;
54 JackHardwareChangeSampleClockFunction change_sample_clock;
55 JackHardwareSetInputMonitorMaskFunction set_input_monitor_mask;
56 JackHardwareReleaseFunction release;
57 JackHardwareGetHardwarePeak get_hardware_peak;
58 JackHardwareGetHardwarePower get_hardware_power;