Skip to content

Commit 5f47c16

Browse files
authored
define struct dspsys before usage
1 parent dd5ae3c commit 5f47c16

File tree

1 file changed

+1
-1
lines changed
  • libjamesdsp/subtree/Main/libjamesdsp/jni/jamesdsp/jdsp

1 file changed

+1
-1
lines changed

libjamesdsp/subtree/Main/libjamesdsp/jni/jamesdsp/jdsp/jdsp_header.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ int BS2BCalculateflevel(unsigned int fcut, unsigned int gain);
440440
void BS2BInit(t_bs2bdp *bs2bdp, unsigned int samplerate, int flevel);
441441
/* sample poits to double floats native endians */
442442
void BS2BProcess(t_bs2bdp *bs2bdp, double *sampleL, double *sampleR);
443+
typedef struct dspsys dspsys;
443444
typedef struct
444445
{
445446
int mode; // 0: BS2B Lv 1, 1: BS2B Lv 2, 2: HRTF crossfeed, 2: HRTF surround 1, 2: HRTF surround 2, 2: HRTF surround 3
@@ -449,7 +450,6 @@ typedef struct
449450
FFTConvolver2x4x2 *convLong_S_S;
450451
void(*process)(struct dspsys *, size_t);
451452
} Crossfeed;
452-
typedef struct dspsys dspsys;
453453
typedef struct
454454
{
455455
FFTConvolver2x2 *conv1d2x2_S_S;

0 commit comments

Comments
 (0)