LMMS
Loading...
Searching...
No Matches
CarlaPluginLV2 Class Reference
Inheritance diagram for CarlaPluginLV2:

Classes

struct  Extensions
struct  UI

Public Member Functions

 CarlaPluginLV2 (CarlaEngine *const engine, const uint id)
 ~CarlaPluginLV2 () override
PluginType getType () const noexcept override
PluginCategory getCategory () const noexcept override
uint32_t getLatencyInFrames () const noexcept override
uint32_t getMidiInCount () const noexcept override
uint32_t getMidiOutCount () const noexcept override
uint32_t getParameterScalePointCount (const uint32_t parameterId) const noexcept override
uint getAudioPortHints (bool isOutput, uint32_t portIndex) const noexcept override
uint getOptionsAvailable () const noexcept override
float getParameterValue (const uint32_t parameterId) const noexcept override
float getParameterScalePointValue (const uint32_t parameterId, const uint32_t scalePointId) const noexcept override
bool getLabel (char *const strBuf) const noexcept override
bool getMaker (char *const strBuf) const noexcept override
bool getCopyright (char *const strBuf) const noexcept override
bool getRealName (char *const strBuf) const noexcept override
bool getParameterName (const uint32_t parameterId, char *const strBuf) const noexcept override
bool getParameterSymbol (const uint32_t parameterId, char *const strBuf) const noexcept override
bool getParameterUnit (const uint32_t parameterId, char *const strBuf) const noexcept override
bool getParameterComment (const uint32_t parameterId, char *const strBuf) const noexcept override
bool getParameterGroupName (const uint32_t parameterId, char *const strBuf) const noexcept override
bool getParameterScalePointLabel (const uint32_t parameterId, const uint32_t scalePointId, char *const strBuf) const noexcept override
void prepareForSave (const bool temporary) override
void setName (const char *const newName) override
void setWindowTitle (const char *const title) noexcept
float setParamterValueCommon (const uint32_t parameterId, const float value) noexcept
void setParameterValue (const uint32_t parameterId, const float value, const bool sendGui, const bool sendOsc, const bool sendCallback) noexcept override
void setParameterValueRT (const uint32_t parameterId, const float value, const uint32_t frameOffset, const bool sendCallbackLater) noexcept override
void setCustomData (const char *const type, const char *const key, const char *const value, const bool sendGui) override
void setProgram (const int32_t index, const bool sendGui, const bool sendOsc, const bool sendCallback, const bool doingInit) noexcept override
void setMidiProgram (const int32_t index, const bool sendGui, const bool sendOsc, const bool sendCallback, const bool doingInit) noexcept override
void setMidiProgramRT (const uint32_t uindex, const bool sendCallbackLater) noexcept override
void setCustomUITitle (const char *const title) noexcept override
void showCustomUI (const bool yesNo) override
voidembedCustomUI (void *const ptr) override
void idle () override
void uiIdle () override
void reload () override
void findInitialLatencyValue (const uint32_t aIns, const uint32_t cvIns, const uint32_t aOuts, const uint32_t cvOuts) const
void reloadPrograms (const bool doInit) override
void activate () noexcept override
void deactivate () noexcept override
void process (const float *const *const audioIn, float **const audioOut, const float *const *const cvIn, float **const cvOut, const uint32_t frames) override
bool processSingle (const float *const *const audioIn, float **const audioOut, const float *const *const cvIn, float **const cvOut, const uint32_t frames, const uint32_t timeOffset)
void bufferSizeChanged (const uint32_t newBufferSize) override
void sampleRateChanged (const double newSampleRate) override
void offlineModeChanged (const bool isOffline) override
void initBuffers () const noexcept override
void clearBuffers () noexcept override
void uiParameterChange (const uint32_t index, const float value) noexcept override
void uiMidiProgramChange (const uint32_t index) noexcept override
void uiNoteOn (const uint8_t channel, const uint8_t note, const uint8_t velo) noexcept override
void uiNoteOff (const uint8_t channel, const uint8_t note) noexcept override
void cloneLV2Files (const CarlaPlugin &other) override
void restoreLV2State (const bool temporary) noexcept override
bool isRealtimeSafe () const noexcept
bool isUiBridgeable (const uint32_t uiId) const noexcept
bool isUiResizable () const noexcept
const char * getUiBridgeBinary (const LV2_Property type) const
void recheckExtensions ()
void updateUi ()
void inspectAtomForParameterChange (const LV2_Atom *const atom)
bool getParameterIndexForURI (const char *const uri, uint32_t &parameterId) noexcept
bool getParameterIndexForURID (const LV2_URID urid, uint32_t &parameterId) noexcept
LV2_URID getCustomURID (const char *const uri)
const char * getCustomURIDString (const LV2_URID urid) const noexcept
void handleProgramChanged (const int32_t index)
LV2_Resize_Port_Status handleResizePort (const uint32_t index, const size_t size)
char * handleStateMapToAbstractPath (const bool temporary, const char *const absolutePath) const
File handleStateMapToAbsolutePath (const bool createDirIfNeeded, const bool symlinkIfNeeded, const bool temporary, const char *const abstractPath) const
LV2_State_Status handleStateStore (const uint32_t key, const void *const value, const size_t size, const uint32_t type, const uint32_t flags)
const voidhandleStateRetrieve (const uint32_t key, size_t *const size, uint32_t *const type, uint32_t *const flags)
LV2_Worker_Status handleWorkerSchedule (const uint32_t size, const void *const data)
LV2_Worker_Status handleWorkerRespond (const uint32_t size, const void *const data)
void handleInlineDisplayQueueRedraw ()
const LV2_Inline_Display_Image_SurfacerenderInlineDisplay (const uint32_t width, const uint32_t height) const
void handleMidnamUpdate ()
LV2_ControlInputPort_Change_Status handleCtrlInPortChangeReq (const uint32_t rindex, const float value)
void handleExternalUIClosed ()
void handlePluginUIClosed () override
void handlePluginUIResized (const uint width, const uint height) override
uint32_t handleUIPortMap (const char *const symbol) const noexcept
LV2UI_Request_Value_Status handleUIRequestValue (const LV2_URID key, const LV2_URID type, const LV2_Feature *const *features)
int handleUIResize (const int width, const int height)
void handleUITouch (const uint32_t rindex, const bool touch)
void handleUIWrite (const uint32_t rindex, const uint32_t bufferSize, const uint32_t format, const void *const buffer)
void handleUIBridgeParameter (const char *const uri, const float value)
void handleLilvSetPortValue (const char *const portSymbol, const void *const value, const uint32_t size, const uint32_t type)
voidgetNativeHandle () const noexcept override
const voidgetNativeDescriptor () const noexcept override
uintptr_t getUiBridgeProcessId () const noexcept override
bool init (const CarlaPluginPtr plugin, const char *const name, const char *const uri, const uint options, const char *&needsArchBridge)
void initUi ()
void handleTransferAtom (const uint32_t portIndex, const LV2_Atom *const atom)
void handleUridMap (const LV2_URID urid, const char *const uri)
void writeAtomPath (const char *const path, const LV2_URID urid)

Static Private Member Functions

static uint32_t carla_lv2_event_ref (LV2_Event_Callback_Data callback_data, LV2_Event *event)
static uint32_t carla_lv2_event_unref (LV2_Event_Callback_Data callback_data, LV2_Event *event)
static int carla_lv2_log_printf (LV2_Log_Handle handle, LV2_URID type, const char *fmt,...)
static int carla_lv2_log_vprintf (LV2_Log_Handle handle, LV2_URID type, const char *fmt, va_list ap)
static void carla_lv2_program_changed (LV2_Programs_Handle handle, int32_t index)
static LV2_Resize_Port_Status carla_lv2_resize_port (LV2_Resize_Port_Feature_Data data, uint32_t index, size_t size)
static void carla_lv2_state_free_path (LV2_State_Free_Path_Handle handle, char *const path)
static char * carla_lv2_state_make_path_real (LV2_State_Make_Path_Handle handle, const char *path)
static char * carla_lv2_state_make_path_tmp (LV2_State_Make_Path_Handle handle, const char *path)
static char * carla_lv2_state_map_to_abstract_path_real (LV2_State_Map_Path_Handle handle, const char *const absolute_path)
static char * carla_lv2_state_map_to_abstract_path_tmp (LV2_State_Map_Path_Handle handle, const char *const absolute_path)
static char * carla_lv2_state_map_to_absolute_path_real (LV2_State_Map_Path_Handle handle, const char *abstract_path)
static char * carla_lv2_state_map_to_absolute_path_tmp (LV2_State_Map_Path_Handle handle, const char *abstract_path)
static LV2_State_Status carla_lv2_state_store (LV2_State_Handle handle, uint32_t key, const void *value, size_t size, uint32_t type, uint32_t flags)
static const voidcarla_lv2_state_retrieve (LV2_State_Handle handle, uint32_t key, size_t *size, uint32_t *type, uint32_t *flags)
static uint32_t carla_lv2_uri_to_id (LV2_URI_Map_Callback_Data data, const char *map, const char *uri)
static LV2_URID carla_lv2_urid_map (LV2_URID_Map_Handle handle, const char *uri)
static const char * carla_lv2_urid_unmap (LV2_URID_Map_Handle handle, LV2_URID urid)
static LV2_Worker_Status carla_lv2_worker_schedule (LV2_Worker_Schedule_Handle handle, uint32_t size, const void *data)
static LV2_Worker_Status carla_lv2_worker_respond (LV2_Worker_Respond_Handle handle, uint32_t size, const void *data)
static void carla_lv2_inline_display_queue_draw (LV2_Inline_Display_Handle handle)
static void carla_lv2_midnam_update (LV2_Midnam_Handle handle)
static LV2_ControlInputPort_Change_Status carla_lv2_ctrl_in_port_change_req (LV2_ControlInputPort_Change_Request_Handle handle, uint32_t index, float value)
static void carla_lv2_external_ui_closed (LV2UI_Controller controller)
static uint32_t carla_lv2_ui_port_map (LV2UI_Feature_Handle handle, const char *symbol)
static LV2UI_Request_Value_Status carla_lv2_ui_request_value (LV2UI_Feature_Handle handle, LV2_URID key, LV2_URID type, const LV2_Feature *const *features)
static int carla_lv2_ui_resize (LV2UI_Feature_Handle handle, int width, int height)
static void carla_lv2_ui_touch (LV2UI_Feature_Handle handle, uint32_t port_index, bool touch)
static void carla_lv2_ui_write_function (LV2UI_Controller controller, uint32_t port_index, uint32_t buffer_size, uint32_t format, const void *buffer)
static void carla_lilv_set_port_value (const char *port_symbol, void *user_data, const void *value, uint32_t size, uint32_t type)

Private Attributes

LV2_Handle fHandle
LV2_Handle fHandle2
LV2_FeaturefFeatures [kFeatureCountAll+1]
LV2_FeaturefStateFeatures [kStateFeatureCountAll+1]
const LV2_DescriptorfDescriptor
const LV2_RDF_Descriptor * fRdfDescriptor
float ** fAudioInBuffers
float ** fAudioOutBuffers
float ** fCvInBuffers
float ** fCvOutBuffers
float * fParamBuffers
bool fHasLoadDefaultState: 1
bool fHasThreadSafeRestore: 1
bool fNeedsFixedBuffers: 1
bool fNeedsUiClose: 1
bool fInlineDisplayNeedsRedraw: 1
int64_t fInlineDisplayLastRedrawTime
int32_t fLatencyIndex
int fStrictBounds
Lv2AtomRingBuffer fAtomBufferEvIn
Lv2AtomRingBuffer fAtomBufferUiOut
Lv2AtomRingBuffer fAtomBufferWorkerIn
Lv2AtomRingBuffer fAtomBufferWorkerResp
uint8_tfAtomBufferUiOutTmpData
uint8_tfAtomBufferWorkerInTmpData
LV2_AtomfAtomBufferRealtime
uint32_t fAtomBufferRealtimeSize
CarlaPluginLV2EventData fEventsIn
CarlaPluginLV2EventData fEventsOut
CarlaPluginLV2Options fLv2Options
CarlaPipeServerLV2 fPipeServer
std::vector< std::string > fCustomURIDs
bool fFirstActive
voidfLastStateChunk
EngineTimeInfo fLastTimeInfo
CarlaString fFilePathURI
struct CarlaPluginLV2::Extensions fExt
struct CarlaPluginLV2::UI fUI

Constructor & Destructor Documentation

◆ CarlaPluginLV2()

CarlaPluginLV2::CarlaPluginLV2 ( CarlaEngine *const engine,
const uint id )
inline

◆ ~CarlaPluginLV2()

CarlaPluginLV2::~CarlaPluginLV2 ( )
inlineoverride

Member Function Documentation

◆ activate()

void CarlaPluginLV2::activate ( )
inlineoverridenoexcept

◆ bufferSizeChanged()

void CarlaPluginLV2::bufferSizeChanged ( const uint32_t newBufferSize)
inlineoverride

◆ carla_lilv_set_port_value()

void CarlaPluginLV2::carla_lilv_set_port_value ( const char * port_symbol,
void * user_data,
const void * value,
uint32_t size,
uint32_t type )
inlinestaticprivate

◆ carla_lv2_ctrl_in_port_change_req()

LV2_ControlInputPort_Change_Status CarlaPluginLV2::carla_lv2_ctrl_in_port_change_req ( LV2_ControlInputPort_Change_Request_Handle handle,
uint32_t index,
float value )
inlinestaticprivate

◆ carla_lv2_event_ref()

uint32_t CarlaPluginLV2::carla_lv2_event_ref ( LV2_Event_Callback_Data callback_data,
LV2_Event * event )
inlinestaticprivate

◆ carla_lv2_event_unref()

uint32_t CarlaPluginLV2::carla_lv2_event_unref ( LV2_Event_Callback_Data callback_data,
LV2_Event * event )
inlinestaticprivate

◆ carla_lv2_external_ui_closed()

void CarlaPluginLV2::carla_lv2_external_ui_closed ( LV2UI_Controller controller)
inlinestaticprivate

◆ carla_lv2_inline_display_queue_draw()

void CarlaPluginLV2::carla_lv2_inline_display_queue_draw ( LV2_Inline_Display_Handle handle)
inlinestaticprivate

◆ carla_lv2_log_printf()

int CarlaPluginLV2::carla_lv2_log_printf ( LV2_Log_Handle handle,
LV2_URID type,
const char * fmt,
... )
inlinestaticprivate

◆ carla_lv2_log_vprintf()

int CarlaPluginLV2::carla_lv2_log_vprintf ( LV2_Log_Handle handle,
LV2_URID type,
const char * fmt,
va_list ap )
inlinestaticprivate

◆ carla_lv2_midnam_update()

void CarlaPluginLV2::carla_lv2_midnam_update ( LV2_Midnam_Handle handle)
inlinestaticprivate

◆ carla_lv2_program_changed()

void CarlaPluginLV2::carla_lv2_program_changed ( LV2_Programs_Handle handle,
int32_t index )
inlinestaticprivate

◆ carla_lv2_resize_port()

LV2_Resize_Port_Status CarlaPluginLV2::carla_lv2_resize_port ( LV2_Resize_Port_Feature_Data data,
uint32_t index,
size_t size )
inlinestaticprivate

◆ carla_lv2_state_free_path()

void CarlaPluginLV2::carla_lv2_state_free_path ( LV2_State_Free_Path_Handle handle,
char *const path )
inlinestaticprivate

◆ carla_lv2_state_make_path_real()

char * CarlaPluginLV2::carla_lv2_state_make_path_real ( LV2_State_Make_Path_Handle handle,
const char * path )
inlinestaticprivate

◆ carla_lv2_state_make_path_tmp()

char * CarlaPluginLV2::carla_lv2_state_make_path_tmp ( LV2_State_Make_Path_Handle handle,
const char * path )
inlinestaticprivate

◆ carla_lv2_state_map_to_absolute_path_real()

char * CarlaPluginLV2::carla_lv2_state_map_to_absolute_path_real ( LV2_State_Map_Path_Handle handle,
const char * abstract_path )
inlinestaticprivate

◆ carla_lv2_state_map_to_absolute_path_tmp()

char * CarlaPluginLV2::carla_lv2_state_map_to_absolute_path_tmp ( LV2_State_Map_Path_Handle handle,
const char * abstract_path )
inlinestaticprivate

◆ carla_lv2_state_map_to_abstract_path_real()

char * CarlaPluginLV2::carla_lv2_state_map_to_abstract_path_real ( LV2_State_Map_Path_Handle handle,
const char *const absolute_path )
inlinestaticprivate

◆ carla_lv2_state_map_to_abstract_path_tmp()

char * CarlaPluginLV2::carla_lv2_state_map_to_abstract_path_tmp ( LV2_State_Map_Path_Handle handle,
const char *const absolute_path )
inlinestaticprivate

◆ carla_lv2_state_retrieve()

const void * CarlaPluginLV2::carla_lv2_state_retrieve ( LV2_State_Handle handle,
uint32_t key,
size_t * size,
uint32_t * type,
uint32_t * flags )
inlinestaticprivate

◆ carla_lv2_state_store()

LV2_State_Status CarlaPluginLV2::carla_lv2_state_store ( LV2_State_Handle handle,
uint32_t key,
const void * value,
size_t size,
uint32_t type,
uint32_t flags )
inlinestaticprivate

◆ carla_lv2_ui_port_map()

uint32_t CarlaPluginLV2::carla_lv2_ui_port_map ( LV2UI_Feature_Handle handle,
const char * symbol )
inlinestaticprivate

◆ carla_lv2_ui_request_value()

LV2UI_Request_Value_Status CarlaPluginLV2::carla_lv2_ui_request_value ( LV2UI_Feature_Handle handle,
LV2_URID key,
LV2_URID type,
const LV2_Feature *const * features )
inlinestaticprivate

◆ carla_lv2_ui_resize()

int CarlaPluginLV2::carla_lv2_ui_resize ( LV2UI_Feature_Handle handle,
int width,
int height )
inlinestaticprivate

◆ carla_lv2_ui_touch()

void CarlaPluginLV2::carla_lv2_ui_touch ( LV2UI_Feature_Handle handle,
uint32_t port_index,
bool touch )
inlinestaticprivate

◆ carla_lv2_ui_write_function()

void CarlaPluginLV2::carla_lv2_ui_write_function ( LV2UI_Controller controller,
uint32_t port_index,
uint32_t buffer_size,
uint32_t format,
const void * buffer )
inlinestaticprivate

◆ carla_lv2_uri_to_id()

uint32_t CarlaPluginLV2::carla_lv2_uri_to_id ( LV2_URI_Map_Callback_Data data,
const char * map,
const char * uri )
inlinestaticprivate

◆ carla_lv2_urid_map()

LV2_URID CarlaPluginLV2::carla_lv2_urid_map ( LV2_URID_Map_Handle handle,
const char * uri )
inlinestaticprivate

◆ carla_lv2_urid_unmap()

const char * CarlaPluginLV2::carla_lv2_urid_unmap ( LV2_URID_Map_Handle handle,
LV2_URID urid )
inlinestaticprivate

◆ carla_lv2_worker_respond()

LV2_Worker_Status CarlaPluginLV2::carla_lv2_worker_respond ( LV2_Worker_Respond_Handle handle,
uint32_t size,
const void * data )
inlinestaticprivate

◆ carla_lv2_worker_schedule()

LV2_Worker_Status CarlaPluginLV2::carla_lv2_worker_schedule ( LV2_Worker_Schedule_Handle handle,
uint32_t size,
const void * data )
inlinestaticprivate

◆ clearBuffers()

void CarlaPluginLV2::clearBuffers ( )
inlineoverridenoexcept

◆ cloneLV2Files()

void CarlaPluginLV2::cloneLV2Files ( const CarlaPlugin & other)
inlineoverride

◆ deactivate()

void CarlaPluginLV2::deactivate ( )
inlineoverridenoexcept

◆ embedCustomUI()

void * CarlaPluginLV2::embedCustomUI ( void *const ptr)
inlineoverride

◆ findInitialLatencyValue()

void CarlaPluginLV2::findInitialLatencyValue ( const uint32_t aIns,
const uint32_t cvIns,
const uint32_t aOuts,
const uint32_t cvOuts ) const
inline

◆ getAudioPortHints()

uint CarlaPluginLV2::getAudioPortHints ( bool isOutput,
uint32_t portIndex ) const
inlineoverridenoexcept

◆ getCategory()

PluginCategory CarlaPluginLV2::getCategory ( ) const
inlineoverridenoexcept

◆ getCopyright()

bool CarlaPluginLV2::getCopyright ( char *const strBuf) const
inlineoverridenoexcept

◆ getCustomURID()

LV2_URID CarlaPluginLV2::getCustomURID ( const char *const uri)
inline

◆ getCustomURIDString()

const char * CarlaPluginLV2::getCustomURIDString ( const LV2_URID urid) const
inlinenoexcept

◆ getLabel()

bool CarlaPluginLV2::getLabel ( char *const strBuf) const
inlineoverridenoexcept

◆ getLatencyInFrames()

uint32_t CarlaPluginLV2::getLatencyInFrames ( ) const
inlineoverridenoexcept

◆ getMaker()

bool CarlaPluginLV2::getMaker ( char *const strBuf) const
inlineoverridenoexcept

◆ getMidiInCount()

uint32_t CarlaPluginLV2::getMidiInCount ( ) const
inlineoverridenoexcept

◆ getMidiOutCount()

uint32_t CarlaPluginLV2::getMidiOutCount ( ) const
inlineoverridenoexcept

◆ getNativeDescriptor()

const void * CarlaPluginLV2::getNativeDescriptor ( ) const
inlineoverridenoexcept

◆ getNativeHandle()

void * CarlaPluginLV2::getNativeHandle ( ) const
inlineoverridenoexcept

◆ getOptionsAvailable()

uint CarlaPluginLV2::getOptionsAvailable ( ) const
inlineoverridenoexcept

◆ getParameterComment()

bool CarlaPluginLV2::getParameterComment ( const uint32_t parameterId,
char *const strBuf ) const
inlineoverridenoexcept

◆ getParameterGroupName()

bool CarlaPluginLV2::getParameterGroupName ( const uint32_t parameterId,
char *const strBuf ) const
inlineoverridenoexcept

◆ getParameterIndexForURI()

bool CarlaPluginLV2::getParameterIndexForURI ( const char *const uri,
uint32_t & parameterId )
inlinenoexcept

◆ getParameterIndexForURID()

bool CarlaPluginLV2::getParameterIndexForURID ( const LV2_URID urid,
uint32_t & parameterId )
inlinenoexcept

◆ getParameterName()

bool CarlaPluginLV2::getParameterName ( const uint32_t parameterId,
char *const strBuf ) const
inlineoverridenoexcept

◆ getParameterScalePointCount()

uint32_t CarlaPluginLV2::getParameterScalePointCount ( const uint32_t parameterId) const
inlineoverridenoexcept

◆ getParameterScalePointLabel()

bool CarlaPluginLV2::getParameterScalePointLabel ( const uint32_t parameterId,
const uint32_t scalePointId,
char *const strBuf ) const
inlineoverridenoexcept

◆ getParameterScalePointValue()

float CarlaPluginLV2::getParameterScalePointValue ( const uint32_t parameterId,
const uint32_t scalePointId ) const
inlineoverridenoexcept

◆ getParameterSymbol()

bool CarlaPluginLV2::getParameterSymbol ( const uint32_t parameterId,
char *const strBuf ) const
inlineoverridenoexcept

◆ getParameterUnit()

bool CarlaPluginLV2::getParameterUnit ( const uint32_t parameterId,
char *const strBuf ) const
inlineoverridenoexcept

◆ getParameterValue()

float CarlaPluginLV2::getParameterValue ( const uint32_t parameterId) const
inlineoverridenoexcept

◆ getRealName()

bool CarlaPluginLV2::getRealName ( char *const strBuf) const
inlineoverridenoexcept

◆ getType()

PluginType CarlaPluginLV2::getType ( ) const
inlineoverridenoexcept

◆ getUiBridgeBinary()

const char * CarlaPluginLV2::getUiBridgeBinary ( const LV2_Property type) const
inline

◆ getUiBridgeProcessId()

uintptr_t CarlaPluginLV2::getUiBridgeProcessId ( ) const
inlineoverridenoexcept

◆ handleCtrlInPortChangeReq()

LV2_ControlInputPort_Change_Status CarlaPluginLV2::handleCtrlInPortChangeReq ( const uint32_t rindex,
const float value )
inline

◆ handleExternalUIClosed()

void CarlaPluginLV2::handleExternalUIClosed ( )
inline

◆ handleInlineDisplayQueueRedraw()

void CarlaPluginLV2::handleInlineDisplayQueueRedraw ( )
inline

◆ handleLilvSetPortValue()

void CarlaPluginLV2::handleLilvSetPortValue ( const char *const portSymbol,
const void *const value,
const uint32_t size,
const uint32_t type )
inline

◆ handleMidnamUpdate()

void CarlaPluginLV2::handleMidnamUpdate ( )
inline

◆ handlePluginUIClosed()

void CarlaPluginLV2::handlePluginUIClosed ( )
inlineoverride

◆ handlePluginUIResized()

void CarlaPluginLV2::handlePluginUIResized ( const uint width,
const uint height )
inlineoverride

◆ handleProgramChanged()

void CarlaPluginLV2::handleProgramChanged ( const int32_t index)
inline

◆ handleResizePort()

LV2_Resize_Port_Status CarlaPluginLV2::handleResizePort ( const uint32_t index,
const size_t size )
inline

◆ handleStateMapToAbsolutePath()

File CarlaPluginLV2::handleStateMapToAbsolutePath ( const bool createDirIfNeeded,
const bool symlinkIfNeeded,
const bool temporary,
const char *const abstractPath ) const
inline

◆ handleStateMapToAbstractPath()

char * CarlaPluginLV2::handleStateMapToAbstractPath ( const bool temporary,
const char *const absolutePath ) const
inline

◆ handleStateRetrieve()

const void * CarlaPluginLV2::handleStateRetrieve ( const uint32_t key,
size_t *const size,
uint32_t *const type,
uint32_t *const flags )
inline

◆ handleStateStore()

LV2_State_Status CarlaPluginLV2::handleStateStore ( const uint32_t key,
const void *const value,
const size_t size,
const uint32_t type,
const uint32_t flags )
inline

◆ handleTransferAtom()

void CarlaPluginLV2::handleTransferAtom ( const uint32_t portIndex,
const LV2_Atom *const atom )
inline

◆ handleUIBridgeParameter()

void CarlaPluginLV2::handleUIBridgeParameter ( const char *const uri,
const float value )
inline

◆ handleUIPortMap()

uint32_t CarlaPluginLV2::handleUIPortMap ( const char *const symbol) const
inlinenoexcept

◆ handleUIRequestValue()

LV2UI_Request_Value_Status CarlaPluginLV2::handleUIRequestValue ( const LV2_URID key,
const LV2_URID type,
const LV2_Feature *const * features )
inline

◆ handleUIResize()

int CarlaPluginLV2::handleUIResize ( const int width,
const int height )
inline

◆ handleUITouch()

void CarlaPluginLV2::handleUITouch ( const uint32_t rindex,
const bool touch )
inline

◆ handleUIWrite()

void CarlaPluginLV2::handleUIWrite ( const uint32_t rindex,
const uint32_t bufferSize,
const uint32_t format,
const void *const buffer )
inline

◆ handleUridMap()

void CarlaPluginLV2::handleUridMap ( const LV2_URID urid,
const char *const uri )
inline

◆ handleWorkerRespond()

LV2_Worker_Status CarlaPluginLV2::handleWorkerRespond ( const uint32_t size,
const void *const data )
inline

◆ handleWorkerSchedule()

LV2_Worker_Status CarlaPluginLV2::handleWorkerSchedule ( const uint32_t size,
const void *const data )
inline

◆ idle()

void CarlaPluginLV2::idle ( )
inlineoverride

◆ init()

bool CarlaPluginLV2::init ( const CarlaPluginPtr plugin,
const char *const name,
const char *const uri,
const uint options,
const char *& needsArchBridge )
inline

◆ initBuffers()

void CarlaPluginLV2::initBuffers ( ) const
inlineoverridenoexcept

◆ initUi()

void CarlaPluginLV2::initUi ( )
inline

◆ inspectAtomForParameterChange()

void CarlaPluginLV2::inspectAtomForParameterChange ( const LV2_Atom *const atom)
inline

◆ isRealtimeSafe()

bool CarlaPluginLV2::isRealtimeSafe ( ) const
inlinenoexcept

◆ isUiBridgeable()

bool CarlaPluginLV2::isUiBridgeable ( const uint32_t uiId) const
inlinenoexcept

◆ isUiResizable()

bool CarlaPluginLV2::isUiResizable ( ) const
inlinenoexcept

◆ offlineModeChanged()

void CarlaPluginLV2::offlineModeChanged ( const bool isOffline)
inlineoverride

◆ prepareForSave()

void CarlaPluginLV2::prepareForSave ( const bool temporary)
inlineoverride

◆ process()

void CarlaPluginLV2::process ( const float *const *const audioIn,
float **const audioOut,
const float *const *const cvIn,
float **const cvOut,
const uint32_t frames )
inlineoverride

◆ processSingle()

bool CarlaPluginLV2::processSingle ( const float *const *const audioIn,
float **const audioOut,
const float *const *const cvIn,
float **const cvOut,
const uint32_t frames,
const uint32_t timeOffset )
inline

◆ recheckExtensions()

void CarlaPluginLV2::recheckExtensions ( )
inline

◆ reload()

void CarlaPluginLV2::reload ( )
inlineoverride

◆ reloadPrograms()

void CarlaPluginLV2::reloadPrograms ( const bool doInit)
inlineoverride

◆ renderInlineDisplay()

const LV2_Inline_Display_Image_Surface * CarlaPluginLV2::renderInlineDisplay ( const uint32_t width,
const uint32_t height ) const
inline

◆ restoreLV2State()

void CarlaPluginLV2::restoreLV2State ( const bool temporary)
inlineoverridenoexcept

◆ sampleRateChanged()

void CarlaPluginLV2::sampleRateChanged ( const double newSampleRate)
inlineoverride

◆ setCustomData()

void CarlaPluginLV2::setCustomData ( const char *const type,
const char *const key,
const char *const value,
const bool sendGui )
inlineoverride

◆ setCustomUITitle()

void CarlaPluginLV2::setCustomUITitle ( const char *const title)
inlineoverridenoexcept

◆ setMidiProgram()

void CarlaPluginLV2::setMidiProgram ( const int32_t index,
const bool sendGui,
const bool sendOsc,
const bool sendCallback,
const bool doingInit )
inlineoverridenoexcept

◆ setMidiProgramRT()

void CarlaPluginLV2::setMidiProgramRT ( const uint32_t uindex,
const bool sendCallbackLater )
inlineoverridenoexcept

◆ setName()

void CarlaPluginLV2::setName ( const char *const newName)
inlineoverride

◆ setParameterValue()

void CarlaPluginLV2::setParameterValue ( const uint32_t parameterId,
const float value,
const bool sendGui,
const bool sendOsc,
const bool sendCallback )
inlineoverridenoexcept

◆ setParameterValueRT()

void CarlaPluginLV2::setParameterValueRT ( const uint32_t parameterId,
const float value,
const uint32_t frameOffset,
const bool sendCallbackLater )
inlineoverridenoexcept

◆ setParamterValueCommon()

float CarlaPluginLV2::setParamterValueCommon ( const uint32_t parameterId,
const float value )
inlinenoexcept

◆ setProgram()

void CarlaPluginLV2::setProgram ( const int32_t index,
const bool sendGui,
const bool sendOsc,
const bool sendCallback,
const bool doingInit )
inlineoverridenoexcept

◆ setWindowTitle()

void CarlaPluginLV2::setWindowTitle ( const char *const title)
inlinenoexcept

◆ showCustomUI()

void CarlaPluginLV2::showCustomUI ( const bool yesNo)
inlineoverride

◆ uiIdle()

void CarlaPluginLV2::uiIdle ( )
inlineoverride

◆ uiMidiProgramChange()

void CarlaPluginLV2::uiMidiProgramChange ( const uint32_t index)
inlineoverridenoexcept

◆ uiNoteOff()

void CarlaPluginLV2::uiNoteOff ( const uint8_t channel,
const uint8_t note )
inlineoverridenoexcept

◆ uiNoteOn()

void CarlaPluginLV2::uiNoteOn ( const uint8_t channel,
const uint8_t note,
const uint8_t velo )
inlineoverridenoexcept

◆ uiParameterChange()

void CarlaPluginLV2::uiParameterChange ( const uint32_t index,
const float value )
inlineoverridenoexcept

◆ updateUi()

void CarlaPluginLV2::updateUi ( )
inline

◆ writeAtomPath()

void CarlaPluginLV2::writeAtomPath ( const char *const path,
const LV2_URID urid )
inline

Member Data Documentation

◆ fAtomBufferEvIn

Lv2AtomRingBuffer CarlaPluginLV2::fAtomBufferEvIn
private

◆ fAtomBufferRealtime

LV2_Atom* CarlaPluginLV2::fAtomBufferRealtime
private

◆ fAtomBufferRealtimeSize

uint32_t CarlaPluginLV2::fAtomBufferRealtimeSize
private

◆ fAtomBufferUiOut

Lv2AtomRingBuffer CarlaPluginLV2::fAtomBufferUiOut
private

◆ fAtomBufferUiOutTmpData

uint8_t* CarlaPluginLV2::fAtomBufferUiOutTmpData
private

◆ fAtomBufferWorkerIn

Lv2AtomRingBuffer CarlaPluginLV2::fAtomBufferWorkerIn
private

◆ fAtomBufferWorkerInTmpData

uint8_t* CarlaPluginLV2::fAtomBufferWorkerInTmpData
private

◆ fAtomBufferWorkerResp

Lv2AtomRingBuffer CarlaPluginLV2::fAtomBufferWorkerResp
private

◆ fAudioInBuffers

float** CarlaPluginLV2::fAudioInBuffers
private

◆ fAudioOutBuffers

float** CarlaPluginLV2::fAudioOutBuffers
private

◆ fCustomURIDs

std::vector<std::string> CarlaPluginLV2::fCustomURIDs
private

◆ fCvInBuffers

float** CarlaPluginLV2::fCvInBuffers
private

◆ fCvOutBuffers

float** CarlaPluginLV2::fCvOutBuffers
private

◆ fDescriptor

const LV2_Descriptor* CarlaPluginLV2::fDescriptor
private

◆ fEventsIn

CarlaPluginLV2EventData CarlaPluginLV2::fEventsIn
private

◆ fEventsOut

CarlaPluginLV2EventData CarlaPluginLV2::fEventsOut
private

◆ fExt

struct CarlaPluginLV2::Extensions CarlaPluginLV2::fExt
private

◆ fFeatures

LV2_Feature* CarlaPluginLV2::fFeatures[kFeatureCountAll+1]
private

◆ fFilePathURI

CarlaString CarlaPluginLV2::fFilePathURI
private

◆ fFirstActive

bool CarlaPluginLV2::fFirstActive
private

◆ fHandle

LV2_Handle CarlaPluginLV2::fHandle
private

◆ fHandle2

LV2_Handle CarlaPluginLV2::fHandle2
private

◆ fHasLoadDefaultState

bool CarlaPluginLV2::fHasLoadDefaultState
private

◆ fHasThreadSafeRestore

bool CarlaPluginLV2::fHasThreadSafeRestore
private

◆ fInlineDisplayLastRedrawTime

int64_t CarlaPluginLV2::fInlineDisplayLastRedrawTime
private

◆ fInlineDisplayNeedsRedraw

bool CarlaPluginLV2::fInlineDisplayNeedsRedraw
private

◆ fLastStateChunk

void* CarlaPluginLV2::fLastStateChunk
private

◆ fLastTimeInfo

EngineTimeInfo CarlaPluginLV2::fLastTimeInfo
private

◆ fLatencyIndex

int32_t CarlaPluginLV2::fLatencyIndex
private

◆ fLv2Options

CarlaPluginLV2Options CarlaPluginLV2::fLv2Options
private

◆ fNeedsFixedBuffers

bool CarlaPluginLV2::fNeedsFixedBuffers
private

◆ fNeedsUiClose

bool CarlaPluginLV2::fNeedsUiClose
private

◆ fParamBuffers

float* CarlaPluginLV2::fParamBuffers
private

◆ fPipeServer

CarlaPipeServerLV2 CarlaPluginLV2::fPipeServer
private

◆ fRdfDescriptor

const LV2_RDF_Descriptor* CarlaPluginLV2::fRdfDescriptor
private

◆ fStateFeatures

LV2_Feature* CarlaPluginLV2::fStateFeatures[kStateFeatureCountAll+1]
private

◆ fStrictBounds

int CarlaPluginLV2::fStrictBounds
private

◆ fUI

struct CarlaPluginLV2::UI CarlaPluginLV2::fUI
private

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