LMMS
Loading...
Searching...
No Matches
NativeHostDescriptor Struct Reference

#include <CarlaNative.h>

Public Attributes

NativeHostHandle handle
const char * resourceDir
const char * uiName
uintptr_t uiParentId
uint32_t(* get_buffer_size )(NativeHostHandle handle)
double(* get_sample_rate )(NativeHostHandle handle)
bool(* is_offline )(NativeHostHandle handle)
const NativeTimeInfo *(* get_time_info )(NativeHostHandle handle)
bool(* write_midi_event )(NativeHostHandle handle, const NativeMidiEvent *event)
void(* ui_parameter_changed )(NativeHostHandle handle, uint32_t index, float value)
void(* ui_midi_program_changed )(NativeHostHandle handle, uint8_t channel, uint32_t bank, uint32_t program)
void(* ui_custom_data_changed )(NativeHostHandle handle, const char *key, const char *value)
void(* ui_closed )(NativeHostHandle handle)
const char *(* ui_open_file )(NativeHostHandle handle, bool isDir, const char *title, const char *filter)
const char *(* ui_save_file )(NativeHostHandle handle, bool isDir, const char *title, const char *filter)
intptr_t(* dispatcher )(NativeHostHandle handle, NativeHostDispatcherOpcode opcode, int32_t index, intptr_t value, void *ptr, float opt)

Member Data Documentation

◆ dispatcher

intptr_t(* NativeHostDescriptor::dispatcher) (NativeHostHandle handle, NativeHostDispatcherOpcode opcode, int32_t index, intptr_t value, void *ptr, float opt)

◆ get_buffer_size

uint32_t(* NativeHostDescriptor::get_buffer_size) (NativeHostHandle handle)

◆ get_sample_rate

double(* NativeHostDescriptor::get_sample_rate) (NativeHostHandle handle)

◆ get_time_info

const NativeTimeInfo *(* NativeHostDescriptor::get_time_info) (NativeHostHandle handle)

◆ handle

NativeHostHandle NativeHostDescriptor::handle

◆ is_offline

bool(* NativeHostDescriptor::is_offline) (NativeHostHandle handle)

◆ resourceDir

const char* NativeHostDescriptor::resourceDir

◆ ui_closed

void(* NativeHostDescriptor::ui_closed) (NativeHostHandle handle)

◆ ui_custom_data_changed

void(* NativeHostDescriptor::ui_custom_data_changed) (NativeHostHandle handle, const char *key, const char *value)

◆ ui_midi_program_changed

void(* NativeHostDescriptor::ui_midi_program_changed) (NativeHostHandle handle, uint8_t channel, uint32_t bank, uint32_t program)

◆ ui_open_file

const char *(* NativeHostDescriptor::ui_open_file) (NativeHostHandle handle, bool isDir, const char *title, const char *filter)

◆ ui_parameter_changed

void(* NativeHostDescriptor::ui_parameter_changed) (NativeHostHandle handle, uint32_t index, float value)

◆ ui_save_file

const char *(* NativeHostDescriptor::ui_save_file) (NativeHostHandle handle, bool isDir, const char *title, const char *filter)

◆ uiName

const char* NativeHostDescriptor::uiName

◆ uiParentId

uintptr_t NativeHostDescriptor::uiParentId

◆ write_midi_event

bool(* NativeHostDescriptor::write_midi_event) (NativeHostHandle handle, const NativeMidiEvent *event)

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