| | |
| | | #include "dsp_report.h" |
| | | #include "../drv/memory.h" |
| | | |
| | | #define LEVELS_MAX_LEN 1688 |
| | | class Message{ |
| | | private: |
| | | Queue<MSG>* txQueue; |
| | | |
| | | ReportStatus dsp_status_q; |
| | | s16* Levels; |
| | | u32 levels_max_len; |
| | | |
| | | s32 PresetProcess(MSG* pmsg); |
| | | |
| | | s32 ParamCtrl(MSG* pmsg); |
| | | |
| | | s32 HandshakeMessageProcess(MSG* pmsg); |
| | | |
| | | s32 RxMessageHandler(MSG* pmsg); |
| | | |
| | | s32 ChannelParamCopy(MSG* pmsg); |
| | | void param_init(ptag_device_config pDevCfg); |
| | | |
| | | public: |
| | | Message(u32 num) |
| | | { |
| | | levels_max_len = LEVELS_MAX_LEN; |
| | | txQueue = new Queue<MSG>(num); |
| | | Levels = new s16[1000]; |
| | | Levels = new s16[levels_max_len]; |
| | | } |
| | | ~Message() |
| | | { |
| | | delete []Levels; |
| | | delete []txQueue; |
| | | } |
| | | |