chenlh
2025-11-14 f41a0f70a05fbed9ccbf4b8c6d9df87147fde374
src/tg/module_def.h
@@ -37,8 +37,8 @@
typedef struct{
   unsigned short output_num; //8
   struct{
      unsigned short   channelID; //默认值:0,1,2...8
      unsigned short   mute;   //默认值:0
      unsigned short channelID; //默认值:0,1,2...8
      unsigned short mute;   //默认值:0
      short gain; //默认值:0
@@ -48,9 +48,9 @@
      short phase;
      short sensitivity;
      short     name[8]; //默认值:"1","2","3"..."8"
      short name[8]; //默认值:"1","2","3"..."8"
      short link ;
      unsigned short type ;
      unsigned short type;
   }output[MAX_OUTPUT_NUM];
}tag_output,*ptag_output;
@@ -72,7 +72,7 @@
typedef struct{
   unsigned short bypass;
   unsigned short q;
   unsigned short q_index;
   unsigned short nsections;
   struct {
      short gain;
@@ -314,6 +314,10 @@
}tag_echo,*ptag_echo;
typedef struct{
   short bypass;
   short name[8];
   short taps;
   int coeffs[MAX_FIR_TAPS];
}tag_fir, *ptag_fir;
typedef  struct{
@@ -325,15 +329,21 @@
typedef  struct{
   short proc_type;
   short pad;
   short proc_ins[sizeof(tag_eq)];
   char proc_ins[sizeof(tag_eq)];
}tag_module ,*ptag_module;
typedef struct{
   short proc_type;
   short pad;
   char proc_ins[sizeof(tag_fir)];
}tag_module_fir, *ptag_module_fir;
typedef  struct{
   short input_group[MAX_INPUT_NUM];
   short output_group[MAX_OUTPUT_NUM];
   int input_group[MAX_INPUT_NUM];
   int output_group[MAX_OUTPUT_NUM];
}tag_group,*ptag_group ;
// ENUM
typedef enum{
   INPUT_GAIN = 0x1,
   INPUT_MUTE,