From e0f29d5815a7dd4d45733ce1d661f1df263913d4 Mon Sep 17 00:00:00 2001
From: chenlh <2008get@163.com>
Date: 星期四, 09 十月 2025 15:23:10 +0800
Subject: [PATCH] 第一轮测试OK版提交

---
 src/tob.cpp |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/tob.cpp b/src/tob.cpp
index 8d34e61..ceee284 100644
--- a/src/tob.cpp
+++ b/src/tob.cpp
@@ -200,7 +200,7 @@
 	return 	ErrStatus::SUCCESS;
 }
 #define DEBUG 0
-#if 1//DEBUG
+#if DEBUG
 	const s8* type_string[ModuleType::PROC_COUNT] = {
 			"none"
 			,"input"
@@ -271,7 +271,8 @@
 		if (pmod->mDsp != dsp_index)  continue;
 
 #if DEBUG
-		//if (PROC_FIR == pmod->mType)
+//		if (1+320 == pmod->mID)
+//		if (PROC_FEEDBACK == pmod->mType)
 			printf("Module ID %d type %d %s rxnum %d txnum %d tag %d. \n",pmod->mID ,pmod->mType, type_string[pmod->mType], pmod->mRxNum,pmod->mTxNum,pmod->mTag);
 #endif
 
@@ -319,7 +320,7 @@
 					if(nPhyOutput[mPhyID[i].mIntType] < mPhyID[i].mPhyID)
 						nPhyOutput[mPhyID[i].mIntType] = mPhyID[i].mPhyID;
 
-					//pcm = frames->AllocFrame(); // It is not necessary to be compatible with the AXE1208 series here, because the TOP architecture is different.
+					pcm = frames->AllocFrame(); // It is not necessary to be compatible with the AXE1208 series here, because the TOP architecture is different.
 					m->SetOutputChannelDataPtr(i, pcm);
 					SetTxChannelPtr(static_cast<IntDataType>(mPhyID[i].mIntType), mPhyID[i].mPhyID-1, pcm->Data());
 //					printf("mID %d,bid %d\n", pmod->mID, mPhyID[i].mPhyID-1);
@@ -399,7 +400,7 @@
 {
 	if(processed) {
 		for (auto iter = mList.begin(); iter < mList.end(); iter++) {
-//			if(((*iter)->GetModuleType() >= 6) && ((*iter)->GetModuleType() <= 6)) {
+//			if(((*iter)->GetModuleType() >= PROC_FEEDBACK) && ((*iter)->GetModuleType() <= PROC_FEEDBACK)) {
 //				printf("%d ", (*iter)->GetModuleID());
 				(*iter)->Proc();
 //			}
@@ -453,6 +454,11 @@
 	}
 
 	IModule* m = mList[mModuleIndex[mID]-1];
+//	if (m->GetModuleType() == PROC_CONTINUNOUS_SPL && pID == 9) {
+//		mID += 320;
+//		m = mList[mModuleIndex[mID]-1];
+//	}
+
 	if( m != NULL) {
 //		m->Ctrl(pID, val, num);
 		paramset->GetCtrlEntry(m->GetModuleType())(m, pID, (s16*)val, num);

--
Gitblit v1.9.3