20 #ifndef __JackNetDriver__
21 #define __JackNetDriver__
23 #include "JackTimedDriver.h"
25 #include "netjack_packet.h"
40 render_payload_to_jack_ports_float(
void *packet_payload, jack_nframes_t net_period_down,
JSList *capture_ports,
JSList *capture_srcs, jack_nframes_t nframes,
int dont_htonl_floats);
42 render_jack_ports_to_payload_float(
JSList *playback_ports,
JSList *playback_srcs, jack_nframes_t nframes,
void *packet_payload, jack_nframes_t net_period_up,
int dont_htonl_floats );
45 render_payload_to_jack_ports_celt(
void *packet_payload, jack_nframes_t net_period_down,
JSList *capture_ports,
JSList *capture_srcs, jack_nframes_t nframes);
47 render_jack_ports_to_payload_celt(
JSList *playback_ports,
JSList *playback_srcs, jack_nframes_t nframes,
void *packet_payload, jack_nframes_t net_period_up);
50 render_payload_to_jack_ports(
int bitdepth,
void *packet_payload, jack_nframes_t net_period_down,
JSList *capture_ports,
JSList *capture_srcs, jack_nframes_t nframes,
int dont_htonl_floats);
52 render_jack_ports_to_payload(
int bitdepth,
JSList *playback_ports,
JSList *playback_srcs, jack_nframes_t nframes,
void *packet_payload, jack_nframes_t net_period_up,
int dont_htonl_floats);
57 int port,
int mtu,
int capture_ports,
int playback_ports,
int midi_input_ports,
int midi_output_ports,
58 int sample_rate,
int period_size,
int resample_factor,
59 const char* net_name, uint transport_sync,
int bitdepth,
int use_autoconfig,
60 int latency,
int redundancy,
int dont_htonl_floats,
int always_deadline,
int jitter_val);
75 bool IsFixedBufferSize()
80 int SetBufferSize(jack_nframes_t buffer_size)
85 int SetSampleRate(jack_nframes_t sample_rate)