1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
| /*
| * dsp_report.h
| *
| * Created on: 2025Äê7ÔÂ22ÈÕ
| * Author: 86189
| */
|
| #ifndef DSP_REPORT_H_
| #define DSP_REPORT_H_
|
| enum DSPStatusID{
| DSP_CPU_UTILITY = 1001,
| DSP_MEM_UTILITY,
| DSP_RUNNING_STATUS,
| DSP_USB_JITTER,
| DSP_CLOCK_STATUS,
| DSP_EMULATE_DEBUG,
| DSP_SCENE_REQUEST,
| DSP_SCENE_DONE,
| };
|
| struct dsp_status_t{
| short ID;
| short value[12];
| };
|
| class ReportStatus {
| private:
| struct dsp_status_t dev_status[16];
| int device_status_count =0;
| public :
| void device_status_push(short ID , short* value, int numOfValue);
|
| int get_device_status_ptr(char* data, int data_len);
| };
|
| #endif /* DSP_REPORT_H_ */
|
|