chenlh
2025-09-18 8445c54f01777513912d4c6d36c28e92a0ff33a0
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_ */