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
|
#endif
|
||||||
|
@ -22,10 +22,10 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
void * handle;
|
void *handle;
|
||||||
const char * format;
|
const char *format;
|
||||||
const char * (*get_bindir)(void *handle);
|
const char *(*get_bindir)(void *handle);
|
||||||
const char * (*get_datadir)(void *handle);
|
const char *(*get_datadir)(void *handle);
|
||||||
} plugin_callbacks;
|
} plugin_callbacks;
|
||||||
|
|
||||||
#include "data.h"
|
#include "data.h"
|
||||||
@ -46,29 +46,29 @@ static ma_device device;
|
|||||||
static ma_device_config deviceConfig;
|
static ma_device_config deviceConfig;
|
||||||
char device_inited = 0;
|
char device_inited = 0;
|
||||||
static plugin instance;
|
static plugin instance;
|
||||||
static void * mem;
|
static void *mem;
|
||||||
#if NUM_NON_OPT_CHANNELS_IN > NUM_CHANNELS_IN
|
#if NUM_NON_OPT_CHANNELS_IN > NUM_CHANNELS_IN
|
||||||
float zero[BLOCK_SIZE];
|
float zero[BLOCK_SIZE];
|
||||||
#endif
|
#endif
|
||||||
#if NUM_CHANNELS_IN > 0
|
#if NUM_CHANNELS_IN > 0
|
||||||
float x_buf[NUM_CHANNELS_IN * BLOCK_SIZE];
|
float x_buf[NUM_CHANNELS_IN * BLOCK_SIZE];
|
||||||
float * x_in[NUM_CHANNELS_IN];
|
float *x_in[NUM_CHANNELS_IN];
|
||||||
#endif
|
#endif
|
||||||
#if NUM_ALL_CHANNELS_IN > 0
|
#if NUM_ALL_CHANNELS_IN > 0
|
||||||
const float * x[NUM_ALL_CHANNELS_IN];
|
const float *x[NUM_ALL_CHANNELS_IN];
|
||||||
#else
|
#else
|
||||||
const float ** x;
|
const float **x;
|
||||||
#endif
|
#endif
|
||||||
#if NUM_NON_OPT_CHANNELS_OUT > 0
|
#if NUM_NON_OPT_CHANNELS_OUT > 0
|
||||||
float y_buf[NUM_NON_OPT_CHANNELS_OUT * BLOCK_SIZE];
|
float y_buf[NUM_NON_OPT_CHANNELS_OUT * BLOCK_SIZE];
|
||||||
#endif
|
#endif
|
||||||
#if NUM_CHANNELS_OUT > 0
|
#if NUM_CHANNELS_OUT > 0
|
||||||
float * y_out[NUM_CHANNELS_OUT];
|
float *y_out[NUM_CHANNELS_OUT];
|
||||||
#endif
|
#endif
|
||||||
#if NUM_ALL_CHANNELS_OUT > 0
|
#if NUM_ALL_CHANNELS_OUT > 0
|
||||||
float * y[NUM_ALL_CHANNELS_OUT];
|
float *y[NUM_ALL_CHANNELS_OUT];
|
||||||
#else
|
#else
|
||||||
float ** y;
|
float **y;
|
||||||
#endif
|
#endif
|
||||||
#if PARAMETERS_N > 0
|
#if PARAMETERS_N > 0
|
||||||
std::mutex mutex;
|
std::mutex mutex;
|
||||||
|
@ -27,7 +27,7 @@ typedef struct plugin {
|
|||||||
float cutoff;
|
float cutoff;
|
||||||
char bypass;
|
char bypass;
|
||||||
|
|
||||||
float * delay_line;
|
float *delay_line;
|
||||||
size_t delay_line_cur;
|
size_t delay_line_cur;
|
||||||
float z1;
|
float z1;
|
||||||
float cutoff_k;
|
float cutoff_k;
|
||||||
|
Loading…
Reference in New Issue
Block a user