Changeset 4264:6f5a86df552b in roaraudio
- Timestamp:
- 08/27/10 12:06:17 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/roaraudio/ltm.h
r4263 r4264 30 30 #define _ROARAUDIO_LTM_H_ 31 31 32 // monitoring targets: 33 /* Vars used below: 34 * t = time 35 * w = window size 36 * l = history size 37 * S(t) = signal at time t 38 * H{g}(n) = history of type g element n 39 */ 40 #define ROAR_LTM_MT_NONE 0x0000 /* const for init of lists */ 41 #define ROAR_LTM_MT_INACT 0x0001 /* input activit */ 42 #define ROAR_LTM_MT_OUTACT 0x0002 /* output activity */ 43 #define ROAR_LTM_MT_ACT 0x0004 /* any (in+out+other) activity */ 44 #define ROAR_LTM_MT_AVG 0x0008 /* signal avg: SUM{t-w->t}(S(t))/w */ 45 #define ROAR_LTM_MT_PEAK 0x0010 /* signal min and max values: MIN(S(t-w..t)), MAX(S(t-w..t)) */ 46 #define ROAR_LTM_MT_RMS 0x0020 /* signal RMS^2: SUM{t-w->t}(S(t)^2) */ 47 #define ROAR_LTM_MT_RMSPEAK 0x0040 /* signal RMS^2 min and max: MIN(H{RMS}(0..l)), MAX(H{RMS}(0..l)) */ 48 #define ROAR_LTM_MT_HISTORY 0x0080 /* request to hold a history */ 49 50 // pre-defined windows: 51 #define ROAR_LTM_WIN_WORKBLOCK 0 /* The last block which the server worked on */ 52 /* This block does not have any sub-block historys (H()) */ 53 54 32 55 #endif 33 56
Note: See TracChangeset
for help on using the changeset viewer.