From 7534dda3b69026df6dc40b3d907b825a0078617b Mon Sep 17 00:00:00 2001
From: chenlh <2008get@163.com>
Date: 星期四, 21 八月 2025 20:14:01 +0800
Subject: [PATCH] Signed-off-by: chenlh <2008get@163.com>
---
src/messageproc.h | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/messageproc.h b/src/messageproc.h
index 4c904c9..a3d1d14 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,14 @@
s32 HandshakeMessageProcess(MSG* pmsg);
s32 RxMessageHandler(MSG* pmsg);
+
+ void param_init(ptag_device_config pDevCfg);
+
public:
Message(u32 num)
{
txQueue = new Queue<MSG>(num);
+ Levels = new(SRAM_DDR) s16[300];
}
~Message()
{
@@ -48,6 +55,7 @@
uvoid Proc();
uvoid ReportDspStatus(MSG* pmsg);
+ uvoid ReportLevel(MSG* pmsg);
};
#endif /* MESSAGEPROC_H_ */
--
Gitblit v1.9.3