ref: e0838bdd8989f47809e8d141b863bcba0da955bc
parent: d4e734b0d7a580854304b01a922dbb06da7a6a20
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Wed Feb 26 19:20:06 EST 2020
make Auxdsp private
--- a/aux.h
+++ b/aux.h
@@ -17,13 +17,6 @@
typedef struct Meta Meta;
typedef struct UI UI;
-struct Auxdsp {
- void *dsp;
- float **in, **out;
- int numin, numout;
- int inmax, outmax;
-};
-
struct Aux {
Auxtype type;
int id;
@@ -31,7 +24,7 @@
int data;
int metadata;
- Auxdsp *dsp;
+ struct Auxdsp *dsp;
UI *ui;
};
--- a/dsp/fs.c
+++ b/dsp/fs.c
@@ -14,6 +14,13 @@
Outmax = 2048, /* float = 8192 bytes */
};
+struct Auxdsp {
+ void *dsp;
+ float **in, **out;
+ int numin, numout;
+ int inmax, outmax;
+};
+
static Aux rootaux[] = {
[Xctl] = {.type = Xctl},
[Xmetadata] = {.type = Xmetadata},