From 8445c54f01777513912d4c6d36c28e92a0ff33a0 Mon Sep 17 00:00:00 2001
From: chenlh <2008get@163.com>
Date: 星期四, 18 九月 2025 14:40:53 +0800
Subject: [PATCH] 首轮测试代码提交
---
src/messageproc.h | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/messageproc.h b/src/messageproc.h
index 4c904c9..e9a733e 100644
--- a/src/messageproc.h
+++ b/src/messageproc.h
@@ -9,16 +9,19 @@
#define MESSAGEPROC_H_
#include <stdint.h>
+#include <heapnew>
#include "protocol.h"
#include "typedefs.h"
#include "queue.h"
#include "dsp_report.h"
+#include "../drv/memory.h"
class Message{
private:
Queue<MSG>* txQueue;
ReportStatus dsp_status_q;
+ s16* Levels;
s32 PresetProcess(MSG* pmsg);
@@ -27,10 +30,18 @@
s32 HandshakeMessageProcess(MSG* pmsg);
s32 RxMessageHandler(MSG* pmsg);
+
+ void param_init(ptag_device_config pDevCfg);
+
public:
Message(u32 num)
{
txQueue = new Queue<MSG>(num);
+<<<<<<< HEAD
+ Levels = new s16[1000];
+=======
+ Levels = new s16[868];
+>>>>>>> 0d5b7df96a2ee186b7b085dca9cf9a33f791c430
}
~Message()
{
@@ -48,6 +59,7 @@
uvoid Proc();
uvoid ReportDspStatus(MSG* pmsg);
+ uvoid ReportLevel(MSG* pmsg);
};
#endif /* MESSAGEPROC_H_ */
--
Gitblit v1.9.3