aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-01-15 17:37:58 +0000
committerDavid Robillard <d@drobilla.net>2012-01-15 17:37:58 +0000
commitfe939f0d817f7309b203419658ab6ef6ec1306ab (patch)
tree40a8ff6dd7d80aff3b93d3a754b1cccc99c0a2b2 /src/jalv_internal.h
parentbddcd318c30e93d9838a4b60300772e267360b7d (diff)
downloadjalv-fe939f0d817f7309b203419658ab6ef6ec1306ab.tar.gz
jalv-fe939f0d817f7309b203419658ab6ef6ec1306ab.tar.bz2
jalv-fe939f0d817f7309b203419658ab6ef6ec1306ab.zip
Lint.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@3949 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r--src/jalv_internal.h94
1 files changed, 47 insertions, 47 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index fd625d4..68757d8 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -57,11 +57,11 @@ struct Port {
const LilvPort* lilv_port;
enum PortType type;
enum PortFlow flow;
- jack_port_t* jack_port; /**< For audio/MIDI ports, otherwise NULL */
- LV2_Evbuf* evbuf; /**< For MIDI ports, otherwise NULL */
- uint32_t index; /**< Port index */
- float control; /**< For control ports, otherwise 0.0f */
- bool old_api; /**< True for event, false for atom */
+ jack_port_t* jack_port; ///< For audio/MIDI ports, otherwise NULL
+ LV2_Evbuf* evbuf; ///< For MIDI ports, otherwise NULL
+ uint32_t index; ///< Port index
+ float control; ///< For control ports, otherwise 0.0f
+ bool old_api; ///< True for event, false for atom
};
/**
@@ -86,46 +86,46 @@ typedef enum {
} JalvPlayState;
typedef struct {
- JalvOptions opts; /**< Command-line options */
- const char* prog_name; /**< Program name (argv[0]) */
- LilvWorld* world; /**< Lilv World */
- int ui_width; /**< Requested UI width */
- int ui_height; /**< Requested UI height */
- LV2_URID_Map map; /**< URI => Int map */
- LV2_URID_Unmap unmap; /**< Int => URI map */
- Symap* symap; /**< Symbol (URI) map */
- jack_client_t* jack_client; /**< Jack client */
- jack_ringbuffer_t* ui_events; /**< Port events from UI */
- jack_ringbuffer_t* plugin_events; /**< Port events from plugin */
- sem_t* done; /**< Exit semaphore */
- sem_t paused; /**< Paused signal from process thread */
- JalvPlayState play_state; /**< Current play state */
- char* temp_dir; /**< Temporary plugin state directory */
- char* save_dir; /**< Plugin save directory */
- const LilvPlugin* plugin; /**< Plugin class (RDF data) */
- const LilvUI* ui; /**< Plugin UI (RDF data) */
- LilvInstance* instance; /**< Plugin instance (shared library) */
- SuilInstance* ui_instance; /**< Plugin UI instance (shared library) */
- void* window; /**< Window (if applicable) */
- struct Port* ports; /**< Port array of size num_ports */
- size_t midi_buf_size; /**< Size of MIDI port buffers */
- uint32_t num_ports; /**< Size of the two following arrays: */
- uint32_t longest_sym; /**< Longest port symbol */
- jack_nframes_t sample_rate; /**< Sample rate */
- jack_nframes_t event_delta_t; /**< Frames since last update sent to UI */
- LilvNode* input_class; /**< Input port class (URI) */
- LilvNode* output_class; /**< Output port class (URI) */
- LilvNode* control_class; /**< Control port class (URI) */
- LilvNode* audio_class; /**< Audio port class (URI) */
- LilvNode* event_class; /**< Event port class (URI) */
- LilvNode* aevent_class; /**< Atom event port class (URI) */
- LilvNode* midi_class; /**< MIDI event class (URI) */
- LilvNode* preset_class; /**< Preset class (URI) */
- LilvNode* label_pred; /**< rdfs:label */
- LilvNode* optional; /**< lv2:connectionOptional port property */
- uint32_t midi_event_id; /**< MIDI event class ID */
- uint32_t atom_prot_id; /**< Atom protocol ID */
- bool buf_size_set; /**< True iff Jack buf size callback fired */
+ JalvOptions opts; ///< Command-line options
+ const char* prog_name; ///< Program name (argv[0])
+ LilvWorld* world; ///< Lilv World
+ int ui_width; ///< Requested UI width
+ int ui_height; ///< Requested UI height
+ LV2_URID_Map map; ///< URI => Int map
+ LV2_URID_Unmap unmap; ///< Int => URI map
+ Symap* symap; ///< Symbol (URI) map
+ jack_client_t* jack_client; ///< Jack client
+ jack_ringbuffer_t* ui_events; ///< Port events from UI
+ jack_ringbuffer_t* plugin_events; ///< Port events from plugin
+ sem_t* done; ///< Exit semaphore
+ sem_t paused; ///< Paused signal from process thread
+ JalvPlayState play_state; ///< Current play state
+ char* temp_dir; ///< Temporary plugin state directory
+ char* save_dir; ///< Plugin save directory
+ const LilvPlugin* plugin; ///< Plugin class (RDF data)
+ const LilvUI* ui; ///< Plugin UI (RDF data)
+ LilvInstance* instance; ///< Plugin instance (shared library)
+ SuilInstance* ui_instance; ///< Plugin UI instance (shared library)
+ void* window; ///< Window (if applicable)
+ struct Port* ports; ///< Port array of size num_ports
+ size_t midi_buf_size; ///< Size of MIDI port buffers
+ uint32_t num_ports; ///< Size of the two following arrays:
+ uint32_t longest_sym; ///< Longest port symbol
+ jack_nframes_t sample_rate; ///< Sample rate
+ jack_nframes_t event_delta_t; ///< Frames since last update sent to UI
+ LilvNode* input_class; ///< Input port class (URI)
+ LilvNode* output_class; ///< Output port class (URI)
+ LilvNode* control_class; ///< Control port class (URI)
+ LilvNode* audio_class; ///< Audio port class (URI)
+ LilvNode* event_class; ///< Event port class (URI)
+ LilvNode* aevent_class; ///< Atom event port class (URI)
+ LilvNode* midi_class; ///< MIDI event class (URI)
+ LilvNode* preset_class; ///< Preset class (URI)
+ LilvNode* label_pred; ///< rdfs:label
+ LilvNode* optional; ///< lv2:connectionOptional port property
+ uint32_t midi_event_id; ///< MIDI event class ID
+ uint32_t atom_prot_id; ///< Atom protocol ID
+ bool buf_size_set; ///< True iff buffer size callback fired
} Jalv;
int
@@ -209,7 +209,7 @@ jalv_strjoin(const char* a, const char* b)
}
#ifdef __cplusplus
-} // extern "C"
+} // extern "C"
#endif
-#endif // JALV_INTERNAL_H
+#endif // JALV_INTERNAL_H