Jack2 1.9.22
_jack_session_event Struct Reference

Public Attributes

jack_session_event_type_t type
const char * session_dir
const char * client_uuid
char * command_line
jack_session_flags_t flags
uint32_t future

Detailed Description

Definition at line 104 of file session.h.

Member Data Documentation

◆ type

jack_session_event_type_t _jack_session_event::type

The type of this session event.

Definition at line 108 of file session.h.

◆ session_dir

const char* _jack_session_event::session_dir

Session directory path, with trailing separator.

This directory is exclusive to the client; when saving the client may create any files it likes in this directory.

Definition at line 116 of file session.h.

◆ client_uuid

const char* _jack_session_event::client_uuid

Client UUID which must be passed to jack_client_open on session load.

The client can specify this in the returned command line, or save it in a state file within the session directory.

Definition at line 124 of file session.h.

◆ command_line

char* _jack_session_event::command_line

Reply (set by client): the command line needed to restore the client.

This is a platform dependent command line. It must contain ${SESSION_DIR} instead of the actual session directory path. More generally, just as in session files, clients should not include any paths outside the session directory here as this makes archival/distribution impossible.

This field is set to NULL by Jack when the event is delivered to the client. The client must set to allocated memory that is safe to free(). This memory will be freed by jack_session_event_free.

Definition at line 139 of file session.h.

◆ flags

jack_session_flags_t _jack_session_event::flags

Reply (set by client): Session flags.

Definition at line 144 of file session.h.

◆ future

uint32_t _jack_session_event::future

Future flags. Set to zero for now.

Definition at line 149 of file session.h.


The documentation for this struct was generated from the following file: