From 1ac2340f684bf8c0b05fb571f5994b0755050671 Mon Sep 17 00:00:00 2001
From: chenlh <2008get@163.com>
Date: 星期四, 29 一月 2026 15:22:04 +0800
Subject: [PATCH] 更新删除输出第一通道后有电平无声音的情况
---
src/tg/module_def.h | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/src/tg/module_def.h b/src/tg/module_def.h
index 19d1b2e..0be5e11 100644
--- a/src/tg/module_def.h
+++ b/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;
@@ -583,4 +583,11 @@
int pad;
}tag_dummy, *ptag_dummy;
+typedef struct {
+ short bOutput; // 0: input channel; 1: output_channel
+ short src_ch_index; // From zero to start
+ short dst_ch_index; // From zero to start
+ short pad;
+}tag_ch_param_copy,*ptag_ch_param_copy;
+
#endif /* MODULE_DEF_H_ */
--
Gitblit v1.9.3