-// Header for data buffer
-typedef struct
-{
- int window_size;
-// Total windows in this buffer
- int total_windows;
-// Samples per fragment
- int window_fragment;
-// Samplerate
- int sample_rate;
-// Linearized user level
- float level;
-// Nothing goes after this
-// 1st sample in each window is the max
- float samples[1];
-} data_header_t;
-
-class SpectrogramFrame