LMMS
Loading...
Searching...
No Matches
carla-host-plugin.c File Reference
#include "CarlaNativePlugin.h"
#include <assert.h>
#include <stdio.h>
#include <string.h>

Functions

static uint32_t get_buffer_size (NativeHostHandle h)
static double get_sample_rate (NativeHostHandle h)
static bool is_offline (NativeHostHandle h)
static intptr_t dispatcher (NativeHostHandle h, NativeHostDispatcherOpcode c, int32_t i, intptr_t v, void *p, float o)
int main (void)

Variables

static const NativeHostDescriptor host_descriptor

Function Documentation

◆ dispatcher()

intptr_t dispatcher ( NativeHostHandle h,
NativeHostDispatcherOpcode c,
int32_t i,
intptr_t v,
void * p,
float o )
static

◆ get_buffer_size()

uint32_t get_buffer_size ( NativeHostHandle h)
static

◆ get_sample_rate()

double get_sample_rate ( NativeHostHandle h)
static

◆ is_offline()

bool is_offline ( NativeHostHandle h)
static

◆ main()

int main ( void )

Variable Documentation

◆ host_descriptor

const NativeHostDescriptor host_descriptor
static
Initial value:
= {
.resourceDir = "",
.uiName = "",
.get_buffer_size = get_buffer_size,
.get_sample_rate = get_sample_rate,
.is_offline = is_offline,
.dispatcher = dispatcher
}
static uint32_t get_buffer_size(NativeHostHandle h)
Definition carla-host-plugin.c:24
static double get_sample_rate(NativeHostHandle h)
Definition carla-host-plugin.c:32
static bool is_offline(NativeHostHandle h)
Definition carla-host-plugin.c:40
static intptr_t dispatcher(NativeHostHandle h, NativeHostDispatcherOpcode c, int32_t i, intptr_t v, void *p, float o)
Definition carla-host-plugin.c:48