jack.c.net

Undocumented in source.

Public Imports

jack.c.systemdeps
public import jack.c.systemdeps;
Undocumented in source.
jack.c.types
public import jack.c.types;
Undocumented in source.

Members

Aliases

JackNetSlaveBufferSizeCallback
alias JackNetSlaveBufferSizeCallback = int function(jack_nframes_t nframes, void* arg)

Prototype for BufferSize callback. @param nframes buffer size @param arg pointer to a client supplied structure supplied by jack_set_net_buffer_size_callback()

JackNetSlaveProcessCallback
alias JackNetSlaveProcessCallback = int function(jack_nframes_t buffer_size, int audio_input, float** audio_input_buffer, int midi_input, void** midi_input_buffer, int audio_output, float** audio_output_buffer, int midi_output, void** midi_output_buffer, void* data)

Prototype for Process callback. @param nframes buffer size @param audio_input number of audio inputs @param audio_input_buffer an array of audio input buffers (from master) @param midi_input number of MIDI inputs @param midi_input_buffer an array of MIDI input buffers (from master) @param audio_output number of audio outputs @param audio_output_buffer an array of audio output buffers (to master) @param midi_output number of MIDI outputs @param midi_output_buffer an array of MIDI output buffers (to master) @param arg pointer to a client supplied structure supplied by jack_set_net_process_callback()

JackNetSlaveSampleRateCallback
alias JackNetSlaveSampleRateCallback = int function(jack_nframes_t nframes, void* arg)

Prototype for SampleRate callback. @param nframes sample rate @param arg pointer to a client supplied structure supplied by jack_set_net_sample_rate_callback()

JackNetSlaveShutdownCallback
alias JackNetSlaveShutdownCallback = void function(void* data)

Prototype for server Shutdown callback (if not set, the client will just restart, waiting for an available master again). @param arg pointer to a client supplied structure supplied by jack_set_net_shutdown_callback()

Enums

JackNetEncoder
enum JackNetEncoder
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

jack_adapter_pull_and_push
int jack_adapter_pull_and_push(jack_adapter_t* adapter, float** input, float** output, uint frames)

Pull input to and push output from adapter ringbuffer. @param adapter the adapter @param input an array of audio input buffers @param output an array of audio ouput buffers @param frames number of frames

jack_adapter_push_and_pull
int jack_adapter_push_and_pull(jack_adapter_t* adapter, float** input, float** output, uint frames)

Push input to and pull output from adapter ringbuffer. @param adapter the adapter @param input an array of audio input buffers @param output an array of audio ouput buffers @param frames number of frames

jack_create_adapter
jack_adapter_t* jack_create_adapter(int input, int output, jack_nframes_t host_buffer_size, jack_nframes_t host_sample_rate, jack_nframes_t adapted_buffer_size, jack_nframes_t adapted_sample_rate)

Create an adapter. @param input number of audio inputs @param output of audio outputs @param host_buffer_size the host buffer size in frames @param host_sample_rate the host buffer sample rate @param adapted_buffer_size the adapted buffer size in frames @param adapted_sample_rate the adapted buffer sample rate

jack_destroy_adapter
int jack_destroy_adapter(jack_adapter_t* adapter)

Destroy an adapter. @param adapter the adapter to be destroyed

jack_flush_adapter
void jack_flush_adapter(jack_adapter_t* adapter)

Flush internal state of an adapter. @param adapter the adapter to be flushed

jack_net_master_close
int jack_net_master_close(jack_net_master_t* net)

Close the network connection with the slave machine. @param net the network connection to be closed

jack_net_master_open
jack_net_master_t* jack_net_master_open(const(char)* ip, int port, const(char)* name, jack_master_t* request, jack_slave_t* result)

Open a network connection with the slave machine. @param ip the multicast address of the master @param port the connection port @param request a connection request structure @param result a connection result structure

jack_net_master_recv
int jack_net_master_recv(jack_net_master_t* net, int audio_input, float** audio_input_buffer, int midi_input, void** midi_input_buffer)

Receive sync and data from the network. @param net the network connection @param audio_input number of audio inputs @param audio_input_buffer an array of audio input buffers @param midi_input number of MIDI inputs @param midi_input_buffer an array of MIDI input buffers

jack_net_master_send
int jack_net_master_send(jack_net_master_t* net, int audio_output, float** audio_output_buffer, int midi_output, void** midi_output_buffer)

Send sync and data to the network. @param net the network connection @param audio_output number of audio outputs @param audio_output_buffer an array of audio output buffers @param midi_output number of MIDI ouputs @param midi_output_buffer an array of MIDI output buffers

jack_net_slave_activate
int jack_net_slave_activate(jack_net_slave_t* net)

Start processing thread, the net_callback will start to be called. @param net the network connection

jack_net_slave_close
int jack_net_slave_close(jack_net_slave_t* net)

Close the network connection with the master machine. @param net the network connection to be closed

jack_net_slave_deactivate
int jack_net_slave_deactivate(jack_net_slave_t* net)

Stop processing thread. @param net the network connection

jack_net_slave_open
jack_net_slave_t* jack_net_slave_open(const(char)* ip, int port, const(char)* name, jack_slave_t* request, jack_master_t* result)

Open a network connection with the master machine. @param ip the multicast address of the master @param port the connection port @param request a connection request structure @param result a connection result structure

jack_set_net_slave_buffer_size_callback
int jack_set_net_slave_buffer_size_callback(jack_net_slave_t* net, JackNetSlaveBufferSizeCallback bufsize_callback, void* arg)

Set network buffer size callback. @param net the network connection @param bufsize_callback the buffer size callback @param arg pointer to a client supplied structure

jack_set_net_slave_process_callback
int jack_set_net_slave_process_callback(jack_net_slave_t* net, JackNetSlaveProcessCallback net_callback, void* arg)

Set network process callback. @param net the network connection @param net_callback the process callback @param arg pointer to a client supplied structure

jack_set_net_slave_sample_rate_callback
int jack_set_net_slave_sample_rate_callback(jack_net_slave_t* net, JackNetSlaveSampleRateCallback samplerate_callback, void* arg)

Set network sample rate callback. @param net the network connection @param samplerate_callback the sample rate callback @param arg pointer to a client supplied structure

jack_set_net_slave_shutdown_callback
int jack_set_net_slave_shutdown_callback(jack_net_slave_t* net, JackNetSlaveShutdownCallback shutdown_callback, void* arg)

Set network shutdown callback. @param net the network connection @param shutdown_callback the shutdown callback @param arg pointer to a client supplied structure

Manifest constants

DEFAULT_MTU
enum DEFAULT_MTU;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DEFAULT_MULTICAST_IP
enum DEFAULT_MULTICAST_IP;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DEFAULT_PORT
enum DEFAULT_PORT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
MASTER_NAME_SIZE
enum MASTER_NAME_SIZE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
SOCKET_ERROR
enum SOCKET_ERROR;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

jack_adapter_t
struct jack_adapter_t

jack_adapter_t is an opaque type, you may only access it using the API provided.

jack_master_t
struct jack_master_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
jack_net_master_t
struct jack_net_master_t

jack_net_master_t is an opaque type, you may only access it using the API provided.

jack_net_slave_t
struct jack_net_slave_t

jack_net_slave_t is an opaque type. You may only access it using the API provided.

jack_slave_t
struct jack_slave_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta