better indentation
This commit is contained in:
parent
29e4e11de4
commit
ac718119b7
@ -80,4 +80,8 @@ static struct {
|
||||
},
|
||||
{{~}}
|
||||
};
|
||||
|
||||
{{?it.product.parameters.find(x => x.direction == "output" && x.isCpumeter)}}
|
||||
# define PARAM_OUT_CPU_INDEX {{=it.product.parameters.indexOf(it.product.parameters.find(x => x.direction == "output" && x.isCpumeter))}}
|
||||
{{?}}
|
||||
#endif
|
||||
|
@ -22,10 +22,10 @@
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct {
|
||||
void * handle;
|
||||
const char * format;
|
||||
const char * (*get_bindir)(void *handle);
|
||||
const char * (*get_datadir)(void *handle);
|
||||
void *handle;
|
||||
const char *format;
|
||||
const char *(*get_bindir)(void *handle);
|
||||
const char *(*get_datadir)(void *handle);
|
||||
} plugin_callbacks;
|
||||
|
||||
#include "data.h"
|
||||
@ -46,29 +46,29 @@ static ma_device device;
|
||||
static ma_device_config deviceConfig;
|
||||
char device_inited = 0;
|
||||
static plugin instance;
|
||||
static void * mem;
|
||||
static void *mem;
|
||||
#if NUM_NON_OPT_CHANNELS_IN > NUM_CHANNELS_IN
|
||||
float zero[BLOCK_SIZE];
|
||||
#endif
|
||||
#if NUM_CHANNELS_IN > 0
|
||||
float x_buf[NUM_CHANNELS_IN * BLOCK_SIZE];
|
||||
float * x_in[NUM_CHANNELS_IN];
|
||||
float *x_in[NUM_CHANNELS_IN];
|
||||
#endif
|
||||
#if NUM_ALL_CHANNELS_IN > 0
|
||||
const float * x[NUM_ALL_CHANNELS_IN];
|
||||
const float *x[NUM_ALL_CHANNELS_IN];
|
||||
#else
|
||||
const float ** x;
|
||||
const float **x;
|
||||
#endif
|
||||
#if NUM_NON_OPT_CHANNELS_OUT > 0
|
||||
float y_buf[NUM_NON_OPT_CHANNELS_OUT * BLOCK_SIZE];
|
||||
#endif
|
||||
#if NUM_CHANNELS_OUT > 0
|
||||
float * y_out[NUM_CHANNELS_OUT];
|
||||
float *y_out[NUM_CHANNELS_OUT];
|
||||
#endif
|
||||
#if NUM_ALL_CHANNELS_OUT > 0
|
||||
float * y[NUM_ALL_CHANNELS_OUT];
|
||||
float *y[NUM_ALL_CHANNELS_OUT];
|
||||
#else
|
||||
float ** y;
|
||||
float **y;
|
||||
#endif
|
||||
#if PARAMETERS_N > 0
|
||||
std::mutex mutex;
|
||||
|
@ -27,7 +27,7 @@ typedef struct plugin {
|
||||
float cutoff;
|
||||
char bypass;
|
||||
|
||||
float * delay_line;
|
||||
float *delay_line;
|
||||
size_t delay_line_cur;
|
||||
float z1;
|
||||
float cutoff_k;
|
||||
|
Loading…
Reference in New Issue
Block a user